The Wayback Machine - https://web.archive.org/web/20200715152955/https://github.com/topics/websocket
Skip to content
#

websocket

Here are 4,771 public repositories matching this topic...

YuriyTigiev
YuriyTigiev commented Dec 20, 2019

Problem Description

The option --set doesn't work

Steps to reproduce the behavior:

  1. The command mitmdump.exe -p 8088 --set ssl_version_client=all --set ssl_version_server=all doesn't change configuration

  2. mitmdump.exe -p 8088 --options doesn't show changes

  3. mitmdump.exe --options returns Error starting proxy server: OSError(98, 'Address already in use')

  4. A default co

ghost
ghost commented Sep 18, 2019

Issue Description

I updated echo in one of my projects. After that my static configuration didn't work without changes. Before it automatically resolved to an existing index.html. After that I had to point to that file.

My code was something like that:

docsGroup := e.Group("")
docsGroup.Static("/", "docs")

In docs is an index.html which was delivered when no path was given

swoole-src
aftabnaveed
aftabnaveed commented Jun 1, 2018

PHP Version 7.1.9

The documentation says that Swoole coroutine cannot be used with xdebug, while developling applications xdebug is very helpful tool. For smaller application it may not be a problem but larger applications makes it necessary to use it.

My question is how can I debug applications while still using Swoole Coroutines ?

garyburd
garyburd commented Jul 31, 2018

Points to cover

  • An application can handle subprotocol negotiation on its own by setting the Sec-Websocket-Protocol response header. The Subprotocols(r *http.Request) []string function is helpful here.
  • Set u.Subprotocols for builtin subprotocol negotiation. Builtin negotiation overrides a subprotocol specified in the response header (it would have been better to return an error, but it
AndreWin
AndreWin commented Jul 12, 2017

Hello!

When text line in list is too long and part of it is moved on the next line, list number is placed on the last line. When I use <br>, list number is placed on the first line of multiline text.

Demo is below:

image

Demo text:

1. [ ] task 1
2. [ ] task 2 task 2 task 2
caritasverein
caritasverein commented Jan 3, 2020

The example code does not work as intended.

Steps to reproduce

Use the example code:

var express = require('express');
var proxy = require('http-proxy-middleware');

var app = express();

app.use(
  '/api',
  proxy({ target: 'http://www.example.org', changeOrigin: true })
);
app.listen(3000);

Expected behavior

This should create a proxy for /api to `http

34r7h
34r7h commented Oct 23, 2019

This is wonderful work and I'm very grateful to find this repo. I'm having difficulty understanding how to scale to multiple networks following the SCC guide and also confused on the recommended architecture. The main issue is clients on separate servers are not finding messages from each other.

On a gcloud instance, i start the state (node server.js), broker( SCC_STATE_SERVER_HOST='[google giv

CodiMech25
CodiMech25 commented Jul 26, 2018

So, in the last 3-4 hours i was searching for a memory leak in my app. After a complete code-review of my application code i decided to make a new simple app built on Ratchet WS server and see, if the problem persists. And it did!

The problem was, that whenever i created a WS connection, the connection class instances built in the background of the Ratchet were not destroyed! So on every ne

southbite
southbite commented Jan 13, 2020

Version:
^7.0.0

Environment:
any os

Related to #646, not an error but a respectful request for a documentation update:

pingInterval is hard-coded to false in createSocket method (so the dummy primus server does not run heartbeats - understood).

I took a trip down the rabbit hole recently - figuring out why the heartbeat check was not happening on the client, and I admit freely that t

bzbarsky
bzbarsky commented Feb 10, 2020

Some people seem to read https://html.spec.whatwg.org/multipage/forms.html#dom-form-nameditem as implying that a new nodelist should be returned each time when there are multiple matching elements. That's not the intent, I assume, and it might be worth clarifying the spec to make it clear.

All browsers I tested (Firefox, Chrome, Safari) return the same nodelist on multiple accesses.

strunkie30
strunkie30 commented Jun 25, 2019

Describe the bug
useConnectionNamespace isn't an option of Vuex, you can assign it only to the global option object.

Expected behavior
useConnectionNamespace is documented as global option.

Additional context
this one works:

Vue.use(new VueSocketIO({
    debug: true,
    connection: 'http://localhost:3000/overview',
    vuex: {
        store,
    },
    

Improve this page

Add a description, image, and links to the websocket topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the websocket topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.