You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by sebb <se...@gmail.com> on 2012/07/17 03:02:29 UTC
Re: svn commit: r1358055 - in /tomcat/trunk: java/org/apache/catalina/connector/
java/org/apache/catalina/core/ java/org/apache/coyote/ java/org/apache/coyote/ajp/
java/org/apache/coyote/http11/ java/org/apache/coyote/spdy/ java/org/apache/tomcat/uti
On 6 July 2012 07:53, <fh...@apache.org> wrote:
> Author: fhanik
> Date: Fri Jul 6 06:53:52 2012
> New Revision: 1358055
>
> URL: http://svn.apache.org/viewvc?rev=1358055&view=rev
> Log:
> implement rev 1 of async/non blocking writes
>
> @@ -146,8 +226,12 @@ public class InternalNioOutputBuffer ext
> * @throws IOException
> * TODO Fix non blocking write properly
> */
> + int total = 0;
The field is misplaced; it should not be between the Javadoc and the method.
> private synchronized int writeToSocket(ByteBuffer bytebuffer, boolean block, boolean flip) throws IOException {
> - if ( flip ) bytebuffer.flip();
> + if ( flip ) {
> + bytebuffer.flip();
> + flipped = true;
> + }
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org