svn commit: r1771611 - /tomcat/trunk/test/org/apache/catalina/connector/TestSendFile.java

2016-11-27 Thread violetagg
Author: violetagg Date: Sun Nov 27 17:20:00 2016 New Revision: 1771611 URL: http://svn.apache.org/viewvc?rev=1771611&view=rev Log: Format the code. Modified: tomcat/trunk/test/org/apache/catalina/connector/TestSendFile.java Modified: tomcat/trunk/test/org/apache/catalina/connector/TestSendFi

svn commit: r1771613 - /tomcat/trunk/test/org/apache/catalina/connector/TestSendFile.java

2016-11-27 Thread violetagg
Author: violetagg Date: Sun Nov 27 17:25:25 2016 New Revision: 1771613 URL: http://svn.apache.org/viewvc?rev=1771613&view=rev Log: Unit test that reproduces bug 60409. Modified: tomcat/trunk/test/org/apache/catalina/connector/TestSendFile.java Modified: tomcat/trunk/test/org/apache/catalina/

[Bug 60409] IllegalArgumentException at java.nio.Buffer.position at SocketWrapperBase.transfer()

2016-11-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60409 --- Comment #5 from Violeta Georgieva --- Hi, I succeeded to reproduce the exceptions from this issue [1]. 1. Request a file with such a length so that "send file" is used. - just before serving the file [2], delete it, thus it will cause th

[Bug 60409] IllegalArgumentException at java.nio.Buffer.position at SocketWrapperBase.transfer()

2016-11-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60409 --- Comment #6 from Mark Thomas --- To date, the design decision has been that the request processing thread is responsible for ensuring that a processor is only recycled once per request. One reason for not making it a cache responsibility is

[Bug 60410] Stream closed when reading war entry

2016-11-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60410 --- Comment #6 from Mark Thomas --- I've found the likely cause. If close is called multiple times on a JarInputStreamWrapper then it is possible that this error could occur. I should have a fix for this shortly. -- You are receiving this mai

[Bug 60409] IllegalArgumentException at java.nio.Buffer.position at SocketWrapperBase.transfer()

2016-11-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60409 --- Comment #7 from Evgenij Ryazanov --- Created attachment 34484 --> https://bz.apache.org/bugzilla/attachment.cgi?id=34484&action=edit Unexpected IllegalStateException in HttpServletResponse.sendError() (In reply to Violeta Georgieva from

[Bug 60409] IllegalArgumentException at java.nio.Buffer.position at SocketWrapperBase.transfer()

2016-11-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60409 --- Comment #8 from Evgenij Ryazanov --- I've appended useSendfile="false" to all HTTP connectors for testing purposes. -- You are receiving this mail because: You are the assignee for the bug.