[Kamailio-Devel] [ openser-Bugs-2440262 ] Race condition with TCP connections
SourceForge.net
noreply at sourceforge.net
Wed Dec 17 15:01:42 CET 2008
Bugs item #2440262, was opened at 2008-12-17 15:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2440262&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Gawith (gawith)
Assigned to: Nobody/Anonymous (nobody)
Summary: Race condition with TCP connections
Initial Comment:
Hi,
it looks like there's a race condition with tcpconn_timeout and tcpconn_get.
tcpconn_get searches and finds a connection which times out at this moment. It returns this connection to tcp_send.
In the meantime another TCP child calls tcp_conn_timeout and removes this connection.
The tcp_send fails with
ERROR:core:tsend_stream: tsend_stream: send timeout (10000)
ERROR:core:tcp_send: failed to send
ERROR:tm:msg_send: tcp_send failed
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2440262&group_id=139143
More information about the Devel
mailing list