Nethravathitcs / unitt

Automatically exported from code.google.com/p/unitt
0 stars 0 forks source link

Connection times out after being connected for a while #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I'm connecting to the server with handshake turned off and using websockets 
implementation 00
2.
3.

What is the expected output? What do you see instead?
I'm expecting to have the connection up until explicitly closed. Connection 
times out after being connected for some short period of time (20-30 seconds).

What version of the product are you using? On what operating system?
Latest version available (0.9.3.1). iOS. 

Please provide any additional information below.
Please check issue 13 for reference.

I'm I supposed to ping the connection every x seconds to keep it alive ?

Original issue reported on code.google.com by rpadr...@gmail.com on 21 Sep 2011 at 1:51

GoogleCodeExporter commented 8 years ago
Many of the servers have a built-in ping for later revisions of the 
specification so that the client does not have to do this. However, that 
feature doesn't really exist in the rev00 version. You will need to setup a 
ping. The good news is that it can go away in later versions. :)

Original comment by joshuadmorris@gmail.com on 21 Sep 2011 at 10:08

GoogleCodeExporter commented 8 years ago
The server developer has implemented the following revision

http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-10

What implementation represents best that revision ?

Original comment by rpadr...@gmail.com on 22 Sep 2011 at 10:40

GoogleCodeExporter commented 8 years ago
Use the WebSocket10.h file.

Original comment by joshuadmorris@gmail.com on 2 Oct 2011 at 8:09