Author: markt Date: Thu Aug 15 11:31:03 2013 New Revision: 1514237 URL: http://svn.apache.org/r1514237 Log: Partial fix for BZ 55381 and OSX
Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java?rev=1514237&r1=1514236&r2=1514237&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java Thu Aug 15 11:31:03 2013 @@ -1586,7 +1586,7 @@ public abstract class AbstractHttp11Proc request.getReadListener() != null) { try { try { - if (inputBuffer.nbRead() > 0) { + if (inputBuffer.available() > 0 || inputBuffer.nbRead() > 0) { asyncStateMachine.asyncOperation(); } } catch (IOException x) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org