https://bz.apache.org/bugzilla/show_bug.cgi?id=60372
--- Comment #4 from Violeta Georgieva <violet...@apache.org> --- Hi, (In reply to Evgenij Ryazanov from comment #3) > It seems that check in Http11OutputBuffer.checkLengthBeforeWrite() is not > correct. > > It compares with ByteBuffer.capacity(), but ByteBuffer.limit() should be > used actually. The check is correct. If you take a look to the code again you will see that the ByteBuffer is kept in "writing" mode i.e. the limit is the capacity. I'll do a code review in order to try to find the reason for this exception. Regards, Violeta -- 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