Hi,

>-----Original Message-----
>From: ext Colin Whittaker [mailto:col...@occamnetworks.com]
>Sent: Friday, October 30, 2009 9:14 PM
>To: sofia-sip-devel@lists.sourceforge.net
>Subject: [Sofia-sip-devel] TCP sockets blocking ?
>
>Back between 1.12.5 and 1.12.6, you removed the
>
>    if (su_setblocking(socket, 0) < 0)
>       return *return_reason = "su_setblocking", -1;
>
> From tport_type_tcp.c and tport_type_sctp.c in the
>tport_tcp_init_secondary() functions.
>This causes the TCP sockets to be blocking and the connect() to hang
>until a connection is established or it times out.
>
>For us, running single threaded, causes the stack to hang for 180
>seconds if the registrar is configured improperly, then the retry and
>hang again. Basically causing our application to be unresponsive. Worse
>than a crash for since at least with a crash, we can restart.

It was fixed after 1.12.6 (in 2007, my how time flies!).

Hope this helps,
  Mikhail
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to