On 6 July 2012 07:53,  <fha...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to