Closed alekna closed 8 years ago
These are mostly reasonable, I'm not sure about #4 though. It's currently set to 2x the hearbeat interval. Making it smaller than the heartbeat interval would cause timeouts to happen even though the stream is active.
That's what stream_timeout
parameter is for. As I understand it poll_timeout
means how long you should wait for SYN/ACK after SYN is sent.
Ah, sorry I misread that. Yeah 2 is reasonable
I would like to suggest making the following changes to
Context
constructor:ssl
value toTrue
(now it'sFalse
)port
value to443
token
parameter as an alternative toContext.set_token()
poll_timeout
value to2
. Now it's10
seconds which doesn't make any sense.