Overview
Features
Download
Documentation
Community
Add-Ons & Services

Websocket

Please post support and help requests here.

Websocket

Postby praveenv4k » 08 Aug 2012, 11:01

Hi,

I tested the Websocket server sample with desktop version of Chrome and it worked fine with that.
But when I tested the same sample with iPhone Safari/Chrome browser there was a Websocket exception in the sample : (Missing Sec-WebSocket-Version in handshake request). How to handle this situation? Is it due to limitation of client browser or websocket implementation of Poco? Is there a fix for this?

Praveen
praveenv4k
 
Posts: 2
Joined: 26 Jul 2012, 03:55

Re: Websocket

Postby guenter » 10 Aug 2012, 07:12

Safari versions prior to 6.0 do not support the final (RFC6455) WebSocket specification. Haven't checked the iOS version, but I guess it will be supported in iOS 6. Also, if you're using Firefox, there's a fix in upcoming 1.4.4 that makes it work with Firefox. Firefox has a bad habit of sending a Connection: keep-alive; upgrade header which causes the WebSocket code in 1.4.3 to not recognize the protocol upgrade request.
guenter
 
Posts: 1110
Joined: 11 Jul 2006, 16:27
Location: Austria


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest