Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Firefox for Android 68.0 - WebSocket is broken when using 'mobile data' (ok using WiFi)

  • Нет ответов
  • 1 имеет эту проблему
  • 14 просмотров
more options

When initiating a Web Socket request, (RFC 6455), the client is supposed to send the following headers:

Connection: upgrade Upgrade: websocket Sec-WebSocket-Key: ... Sec-WebSocket-Version: ... Sec-WebSocket-Extensions: ...

When connecting to the server over WiFi Firefox does this.

When connecting to the server over 'mobile data' Firefox sends different headers: the Connection header has value 'keep-alive' and the Upgrade header is absent altogether. The Sec-WebSocket-xxx headers are still present.

Of course Chrome works perfectly.

When initiating a Web Socket request, (RFC 6455), the client is supposed to send the following headers: Connection: upgrade Upgrade: websocket Sec-WebSocket-Key: ... Sec-WebSocket-Version: ... Sec-WebSocket-Extensions: ... When connecting to the server over WiFi Firefox does this. When connecting to the server over 'mobile data' Firefox sends different headers: the Connection header has value 'keep-alive' and the Upgrade header is absent altogether. The Sec-WebSocket-xxx headers are still present. Of course Chrome works perfectly.