Author: markt
Date: Fri Jan 16 10:53:17 2015
New Revision: 1652383
URL: http://svn.apache.org/r1652383
Log:
Correct a comment
Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java?rev=1652383&r1=1652382&r2=1652383&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java Fri Jan 16
10:53:17 2015
@@ -1040,9 +1040,7 @@ public class Nio2Endpoint extends Abstra
return remaining;
}
- // Fill the read buffer as best we can. Only do a blocking
read if
- // the current read is blocking AND there wasn't any data left
over
- // in the read buffer.
+ // Fill the read buffer as best we can.
int nRead = fillReadBuffer(block);
if (block) {
// Just did a blocking read so release the semaphore
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]