HeinrichApfelmus / threepenny-gui

GUI framework that uses the web browser as a display.
https://heinrichapfelmus.github.io/threepenny-gui/
Other
439 stars 77 forks source link

Websockets don't work in Safari 5.1 #65

Closed HeinrichApfelmus closed 10 years ago

HeinrichApfelmus commented 10 years ago

The library no longer works in older versions of Safari, like 5.1. Apparently, this is due to changes in the websockets-0.8 library. The server logs the following message:

MalformedRequest (RequestHead {requestPath = "/websocket", requestHeaders = [("Sec-WebSocket-Key1","m669x[G8 1E i#h31rN04"),("Sec-WebSocket-Key2","^5l847(61z 5( 44!"),("Host","localhost:10000"),("Origin","http://localhost:10000"),("Connection","Upgrade"),("Upgrade","WebSocket")], requestSecure = False}) "Header missing: Sec-WebSocket-Key"

Issue reference in the dependency: jaspervdj/websockets#51 and jaspervdj/websockets#49 .

This is unlikely to be fixed, older browsers will probably not be supported.