https://issues.apache.org/bugzilla/show_bug.cgi?id=56391

--- Comment #14 from Remy Maucherat <r...@apache.org> ---
>From my debugging, in the test it is never NEED_TASK, so tasks() is not called
(and it doesn't feel wrong).

However, (tracing the write, since that is what the test is doing) the
handshake status goes into NEED_WRAP and NEED_UNWRAP, which means the write
should read. Not a good concept IMO ...

More specifically about NIO2, this could be very difficult if not impossible to
do it "right" (depending on what ends up being needed), since mixing read and
write operations after the initial handshake would corrupt data or run into
pending checks. This could be a candidate to end up as a known issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to