[Libwebsockets] [libwebsockets] #46: Does not work with Safari for Windows and Safari for iOS

Trac trac at libwebsockets.org
Wed Nov 6 11:07:07 CET 2013


#46: Does not work with Safari for Windows and Safari for iOS
------------------------------------+------------------------
  Reporter:  aleksandr.gutenev      |      Owner:
      Type:  enhancement            |     Status:  closed
  Priority:  major                  |  Milestone:
 Component:  libwebsockets library  |    Version:
Resolution:  wontfix                |   Keywords:  Safari iOS
------------------------------------+------------------------
Changes (by agreen):

 * status:  new => closed
 * resolution:   => wontfix


Old description:

> Safari uses old version of !WebSocket protocol.
>
> Its request look like this:
> {{{
> GET / HTTP/1.1
> Upgrade: WebSocket
> Connection: Upgrade
> Host: 172.28.100.5
> Origin: http://172.28.100.5
> Sec-WebSocket-Key1: J  g1 8 e4 43X6T76  m0V   Sc  0u
> Sec-WebSocket-Key2: 38K+   9207FV|  li8 o92  {q8
>
> 
NbEMq1
> }}}
>
> As I can see, WSI_TOKEN_KEY1 and WSI_TOKEN_KEY2 are parsed but not used.
>
> Any plans on supporting this?

New description:

 Safari uses old version of !WebSocket protocol.

 Its request look like this:
 {{{
 GET / HTTP/1.1
 Upgrade: WebSocket
 Connection: Upgrade
 Host: 172.28.100.5
 Origin: http://172.28.100.5
 Sec-WebSocket-Key1: J  g1 8 e4 43X6T76  m0V   Sc  0u
 Sec-WebSocket-Key2: 38K+   9207FV|  li8 o92  {q8

 NbEMq1
 }}}

 As I can see, WSI_TOKEN_KEY1 and WSI_TOKEN_KEY2 are parsed but not used.

 Any plans on supporting this?

--

Comment:

 Yes that version is very old and before the first official version of the
 standard.

 Older versions of libwebsockets supported it but I took it out since the
 code to support it became untested cruft.  Anything that's getting
 maintained in the last year is using he release version of the protocol
 definition.

 So the problem is more that Safari doesn't support the release version of
 websockets standard rather than something libwebsockets should do.

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/46#comment:1>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list