Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 634476B9B for ; Thu, 21 Jul 2011 06:29:53 +0000 (UTC) Received: (qmail 41111 invoked by uid 500); 21 Jul 2011 06:29:51 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 40218 invoked by uid 500); 21 Jul 2011 06:29:33 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 40207 invoked by uid 99); 21 Jul 2011 06:29:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 06:29:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 06:29:25 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0C26323888BD for ; Thu, 21 Jul 2011 06:29:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1149046 - /tomcat/native/trunk/native/src/network.c Date: Thu, 21 Jul 2011 06:29:03 -0000 To: dev@tomcat.apache.org From: jfclere@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110721062904.0C26323888BD@eris.apache.org> 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