tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r1148814 - /tomcat/native/branches/1.1.x/native/src/network.c
Date Wed, 20 Jul 2011 15:25:03 GMT
Author: jfclere
Date: Wed Jul 20 15:25:02 2011
New Revision: 1148814

URL: http://svn.apache.org/viewvc?rev=1148814&view=rev
Log:
Fix for 50394. Need fix in java/org/apache/coyote/http11/InternalAprInputBuffer.java too.

Modified:
    tomcat/native/branches/1.1.x/native/src/network.c

Modified: tomcat/native/branches/1.1.x/native/src/network.c
URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/src/network.c?rev=1148814&r1=1148813&r2=1148814&view=diff
==============================================================================
--- tomcat/native/branches/1.1.x/native/src/network.c (original)
+++ tomcat/native/branches/1.1.x/native/src/network.c Wed Jul 20 15:25:02 2011
@@ -929,6 +929,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