[sipxtapi] r1421 committed - Applied patch from Saab:...

2 views
Skip to first unread message

codesite...@google.com

unread,
Feb 7, 2011, 5:19:38 PM2/7/11
to sipxtapi...@googlegroups.com
Revision: 1421
Author: jaroslavl1
Date: Mon Feb 7 14:13:49 2011
Log: Applied patch from Saab:
- Logs when client socket is not OK. This was done due to our problem with
ICMP Port Unreachable.

http://code.google.com/p/sipxtapi/source/detail?r=1421

Modified:
/trunk/sipXtackLib/src/net/SipProtocolServerBase.cpp

=======================================
--- /trunk/sipXtackLib/src/net/SipProtocolServerBase.cpp Sun Jan 10
08:33:41 2010
+++ /trunk/sipXtackLib/src/net/SipProtocolServerBase.cpp Mon Feb 7
14:13:49 2011
@@ -199,6 +199,14 @@
UtlBoolean isOk = clientSocket->isOk();
int writeWait = 3000; // mSec
UtlBoolean isReadyToWrite =
clientSocket->isReadyToWrite(writeWait);
+
+ if(!isOk)
+ {
+ OsSysLog::add(FAC_SIP, PRI_WARNING,
+ "SIP %s socket %s:%d not OK",
+ mProtocolString.data(), hostAddress, hostPort);
+
+ }

if(!isReadyToWrite)
{

Reply all
Reply to author
Forward
0 new messages