Hi, I start a EM TCP server (1.0.0.beta3) and set set_comm_inactivity_timeout=5.

A client connects to the server and sends/receives no data.
After 5 seconds unbind() is called with no cause argument. Shouldn't
it be called with Errno::ETIMEDOUT?

Also, there is no way to know if the connection has been locally or
remotely terminated. As a hack I rewrite close_connection() and
close_connection_atfer_writing() (I set an attribute
@local_disconenction=true) but these methods are not called when
inactivity_timeout triggers, so I have no way to know who has closed
the connection, neither the reason (as no cause is passed to unbind
method).

-- 
Iñaki Baz Castillo
<[email protected]>

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to