3 ms·
WebSockets aren't HTTP — fake header is not enough to fool HTTP-compliant servers/proxies. You could try HTTPS WebSockets with TLS 1.1 SNI vhosts. I recommend
by pornel 15y ago
WebSockets aren't HTTP — fake header is not enough to fool HTTP-compliant servers/proxies. You could try HTTPS WebSockets with TLS 1.1 SNI vhosts.
I recommend using Server-Sent Events instead. You get nearly same API for realtime server->client push, and they're HTTP-compatible:
http://html5doctor.com/server-sent-events/ http://html5doctor.com/server-sent-events/
http://speakerdeck.com/u/pornel/p/server-sent-events http://speakerdeck.com/u/pornel/p/server-sent-events