You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/10/02 14:18:52 UTC

[Bug 62791] SecureNioChannel fails with "IllegalArgumentException: You can only read using the application read buffer provided by the handler."

https://bz.apache.org/bugzilla/show_bug.cgi?id=62791

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
I couldn't figure out why it was such a drama to not use the container buffer
for NIO SSL (except: no resize ...), so I didn't put it in NIO2, that's why it
works. The code path clearly uses the application provided buffer in
SecureNioChannel in the situation you describe where there are no bytes left.

Either way, I would simply remove the check.

Comments ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org