tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62791] SecureNioChannel fails with "IllegalArgumentException: You can only read using the application read buffer provided by the handler."
Date Tue, 02 Oct 2018 14:18:52 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62791

--- Comment #1 from Remy Maucherat <remm@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


Mime
View raw message