tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r1149046 - /tomcat/native/trunk/native/src/network.c
Date Thu, 21 Jul 2011 06:29:03 GMT
Author: jfclere
Date: Thu Jul 21 06:29:02 2011
New Revision: 1149046

URL: http://svn.apache.org/viewvc?rev=1149046&view=rev
Log:
Fix for 50394.

Modified:
    tomcat/native/trunk/native/src/network.c

Modified: tomcat/native/trunk/native/src/network.c
URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/src/network.c?rev=1149046&r1=1149045&r2=1149046&view=diff
==============================================================================
--- tomcat/native/trunk/native/src/network.c (original)
+++ tomcat/native/trunk/native/src/network.c Thu Jul 21 06:29:02 2011
@@ -932,6 +932,8 @@ TCN_IMPLEMENT_CALL(jint, Socket, recvbb)
 #endif
     if (ss == APR_SUCCESS)
         return (jint)nbytes;
+    else if (APR_STATUS_IS_EOF(ss))
+        return 0;
     else {
         TCN_ERROR_WRAP(ss);
         return -(jint)ss;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message