firehoseio / firehose

Build realtime Ruby web applications. Created by the fine folks at Poll Everywhere.
http://firehose.io/
MIT License
726 stars 72 forks source link

Safari fails when accessing WebSockets from behind a load balancer #4

Closed bradgessler closed 12 years ago

bradgessler commented 12 years ago

This is really a haproxy/web standards problem because safari uses a WS spec that doesn't work with haproxy.

bradgessler commented 12 years ago

Added transport fail-overs on the client-side. If WS can't connect, this will resort to long polling.

I'm not going to worry about this on the server side because Safari is using an old version of the WS spec. Assume that will be upgraded to the final draft over time.