svn commit: r1757485 - in /tomcat/trunk: java/org/apache/tomcat/util/net/SecureNioChannel.java webapps/docs/changelog.xml

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 10:24:04 2016 New Revision: 1757485 URL: http://svn.apache.org/viewvc?rev=1757485&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=60030 Correct a potential infinite loop in the SNI parsing code triggered by failing to handle an end of stream conditi

svn commit: r1757487 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/tomcat/util/net/SecureNioChannel.java webapps/docs/changelog.xml

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 10:26:08 2016 New Revision: 1757487 URL: http://svn.apache.org/viewvc?rev=1757487&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=60030 Correct a potential infinite loop in the SNI parsing code triggered by failing to handle an end of stream conditi

[Bug 60030] Run away CPU with JSSE / OpenSSL with IE8

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60030 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 60013] Non-ASCII characters in querystring get mangled after URL Rewrite using RewriteValve

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60013 --- Comment #3 from santhanapreeth...@gmail.com --- I configured UTF-8 everywhere as mentioned in https://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q1 1. I set URIEncoding="UTF-8" and useBodyEncodingForURI="true" for the connectors in serve

[Bug 60013] Non-ASCII characters in querystring get mangled after URL Rewrite using RewriteValve

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60013 --- Comment #4 from santhanapreeth...@gmail.com --- I tested by encoding the querystring in the RewriteValve if (queryString != null) { request.getCoyoteRequest().queryString().setString(null); chunk = request.getCoyoteRequest().qu

[Bug 60013] Non-ASCII characters in querystring get mangled after URL Rewrite using RewriteValve

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60013 --- Comment #5 from santhanapreeth...@gmail.com --- I tested by encoding the querystring in the RewriteValve if (queryString != null) { request.getCoyoteRequest().queryString().setString(null); chunk = request.getCoyoteRequest().qu

svn commit: r1757495 - in /tomcat/trunk: java/org/apache/el/parser/ test/org/apache/el/ test/webapp/WEB-INF/ test/webapp/bug6nnnn/ webapps/docs/

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 11:27:29 2016 New Revision: 1757495 URL: http://svn.apache.org/viewvc?rev=1757495&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=60032 Fix handling of method calls that use varargs within EL value expressions. Added: tomcat/trunk/test/webapp/bu

svn commit: r1757496 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/el/parser/AstFunction.java test/org/apache/el/TestELInJsp.java test/org/apache/el/TesterFunctions.java test/webapp/WEB-INF/test.tld

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 11:27:57 2016 New Revision: 1757496 URL: http://svn.apache.org/viewvc?rev=1757496&view=rev Log: Fix handling of method calls that use varargs within EL value expressions. Added: tomcat/tc8.5.x/trunk/test/webapp/bug6/ - copied from r1757495, tomcat/trun

svn commit: r1757497 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/el/parser/AstFunction.java test/org/apache/el/TestELInJsp.java test/org/apache/el/TesterFunctions.java test/webapp/WEB-INF/test.tld

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 11:28:13 2016 New Revision: 1757497 URL: http://svn.apache.org/viewvc?rev=1757497&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=60032 Fix handling of method calls that use varargs within EL value expressions. Added: tomcat/tc8.0.x/trunk/test/w

[Bug 60032] EL function resolve varargs values but not send it to function call

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60032 Mark Thomas changed: What|Removed |Added Resolution|--- |FIXED OS|

svn commit: r1757499 - in /tomcat/trunk/webapps/docs: changelog.xml manager-howto.xml

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 11:38:20 2016 New Revision: 1757499 URL: http://svn.apache.org/viewvc?rev=1757499&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=60034 Fix typo Modified: tomcat/trunk/webapps/docs/changelog.xml tomcat/trunk/webapps/docs/manager-howto.xml M

svn commit: r1757501 - in /tomcat/tc8.5.x/trunk: ./ webapps/docs/changelog.xml webapps/docs/manager-howto.xml

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 11:38:53 2016 New Revision: 1757501 URL: http://svn.apache.org/viewvc?rev=1757501&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=60034 Fix typo Modified: tomcat/tc8.5.x/trunk/ (props changed) tomcat/tc8.5.x/trunk/webapps/docs/changelog.xm

svn commit: r1757502 - in /tomcat/tc8.0.x/trunk: ./ webapps/docs/changelog.xml webapps/docs/manager-howto.xml

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 11:39:16 2016 New Revision: 1757502 URL: http://svn.apache.org/viewvc?rev=1757502&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=60034 Fix typo Modified: tomcat/tc8.0.x/trunk/ (props changed) tomcat/tc8.0.x/trunk/webapps/docs/changelog.xm

svn commit: r1757503 - in /tomcat/tc7.0.x/trunk: ./ webapps/docs/changelog.xml webapps/docs/manager-howto.xml

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 11:40:51 2016 New Revision: 1757503 URL: http://svn.apache.org/viewvc?rev=1757503&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=60034 Fix typo Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/webapps/docs/changelog.xm

svn commit: r1757504 - in /tomcat/tc6.0.x/trunk: ./ webapps/docs/changelog.xml webapps/docs/manager-howto.xml

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 11:43:21 2016 New Revision: 1757504 URL: http://svn.apache.org/viewvc?rev=1757504&view=rev Log: Fix typo Modified: tomcat/tc6.0.x/trunk/ (props changed) tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml

[Bug 60034] typo in proxy servlet docs - "is extremely help"

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60034 Mark Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 59649] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59649 Mircea changed: What|Removed |Added CC||zmircmir...@gmail.com --- Comment #3 from Mir

[Bug 59649] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59649 --- Comment #4 from Mircea --- Here is my stacktrace with Tomcat 8.5.4. Seems to be almost identical: 2016-08-24 07:48:38,236 INFO [http-nio-8080-exec-10] o.a.coyote.http11.Http11Processor DirectJDKLog.java:181 Error parsing HTTP request head

[Bug 59649] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59649 Mircea changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #5 from Mircea --- As a cont

[Bug 59649] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59649 Mark Thomas changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #6 from Mark Thomas

svn commit: r1757518 - /tomcat/trunk/webapps/docs/changelog.xml

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 13:11:23 2016 New Revision: 1757518 URL: http://svn.apache.org/viewvc?rev=1757518&view=rev Log: Line length Modified: tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webap

svn commit: r1757520 - in /tomcat/trunk: java/org/apache/tomcat/util/net/jsse/JSSEUtil.java test/webapp/WEB-INF/test.tld webapps/docs/changelog.xml

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 13:13:48 2016 New Revision: 1757520 URL: http://svn.apache.org/viewvc?rev=1757520&view=rev Log: ws police Modified: tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSEUtil.java tomcat/trunk/test/webapp/WEB-INF/test.tld tomcat/trunk/webapps/docs/change

svn commit: r1757522 - /tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSEUtil.java

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 13:22:27 2016 New Revision: 1757522 URL: http://svn.apache.org/viewvc?rev=1757522&view=rev Log: Revert accidental commit of debug code Modified: tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSEUtil.java Modified: tomcat/trunk/java/org/apache/tomcat/util/n

Introduce methods read/write with ByteBuffer in CoyoteInputStream/CoyoteOutputStream

2016-08-24 Thread Violeta Georgieva
Hi, Currently it is not possible to use ServletInputStream.read/ServletOutputStream.write methods with ByteBuffer. To enable such scenarios in Tomcat I would like to extend the Tomcat’s internal implementation (CoyoteInputStream/CoyoteOutputStream). I already did some refactoring in ByteChunk/Char

[Bug 60039] New: Provide a switch to disable sending exception stacktrace to client

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60039 Bug ID: 60039 Summary: Provide a switch to disable sending exception stacktrace to client Product: Tomcat 8 Version: 8.5.x-trunk Hardware: All OS: All

svn commit: r1757527 - in /tomcat/trunk: java/org/apache/catalina/startup/ContextConfig.java java/org/apache/tomcat/util/descriptor/InputSourceUtil.java java/org/apache/tomcat/util/descriptor/web/WebX

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 14:02:16 2016 New Revision: 1757527 URL: http://svn.apache.org/viewvc?rev=1757527&view=rev Log: Fix a file descriptor leak when reading the global web.xml. Added: tomcat/trunk/java/org/apache/tomcat/util/descriptor/InputSourceUtil.java (with props) Modified:

[Bug 60039] Provide a switch to disable sending exception stacktrace to client

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60039 Violeta Georgieva changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

svn commit: r1757535 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/catalina/startup/ContextConfig.java java/org/apache/tomcat/util/descriptor/InputSourceUtil.java java/org/apache/tomcat/util/descript

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 14:49:31 2016 New Revision: 1757535 URL: http://svn.apache.org/viewvc?rev=1757535&view=rev Log: Fix a file descriptor leak when reading the global web.xml. Added: tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/descriptor/InputSourceUtil.java - copied un

svn commit: r1757537 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/startup/ContextConfig.java java/org/apache/tomcat/util/descriptor/InputSourceUtil.java java/org/apache/tomcat/util/descript

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 14:50:25 2016 New Revision: 1757537 URL: http://svn.apache.org/viewvc?rev=1757537&view=rev Log: Fix a file descriptor leak when reading the global web.xml. Added: tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/descriptor/InputSourceUtil.java - copied un

svn commit: r1757538 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/startup/ContextConfig.java java/org/apache/tomcat/util/descriptor/InputSourceUtil.java webapps/docs/changelog.xml

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 14:57:11 2016 New Revision: 1757538 URL: http://svn.apache.org/viewvc?rev=1757538&view=rev Log: Fix a file descriptor leak when reading the global web.xml. Added: tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/descriptor/InputSourceUtil.java - copied un

[Bug 60035] java.io.IOException: Too many open files

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60035 --- Comment #1 from Mark Thomas --- I'm starting to look at this. I've already found and fixed an unrelated file descriptor leak and I can see a couple more places where fixes might be required. However, I haven't - yet - seen anything that loo

[GUMP@vmgump]: Project tomcat-tc8.0.x-validate (in module tomcat-8.0.x) failed

2016-08-24 Thread Bill Barker
ump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-20160824.jar:/srv/gump/packages/commons-collections3/commons-collections-3.2.1.jar:/srv/gump/public/workspace/apache-commons/cli/target/commons-cli-1.4-SNAPSHOT.jar:/srv/gump/public/workspace/commons-lang-trunk/target/commons-la

svn commit: r1757578 - in /tomcat/trunk: java/org/apache/tomcat/util/net/jsse/JSSEUtil.java java/org/apache/tomcat/util/net/jsse/LocalStrings.properties webapps/docs/changelog.xml

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 21:37:39 2016 New Revision: 1757578 URL: http://svn.apache.org/viewvc?rev=1757578&view=rev Log: Refactor the JSSE client certificate validation so that the effectiveness of the certificateVerificationDepth configuration attribute does not depend on the presence of

svn commit: r1757583 - in /tomcat/trunk/webapps/docs: changelog.xml config/http.xml

2016-08-24 Thread markt
Author: markt Date: Wed Aug 24 22:44:45 2016 New Revision: 1757583 URL: http://svn.apache.org/viewvc?rev=1757583&view=rev Log: (empty) Modified: tomcat/trunk/webapps/docs/changelog.xml tomcat/trunk/webapps/docs/config/http.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http:

[Bug 60035] java.io.IOException: Too many open files

2016-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60035 --- Comment #2 from joe.stepow...@gmail.com --- Hi Mark I have been able to pinpoint that the issue started with 8.5.3. 8.5.2 seems to be ok. I can see from the 8.5.3 changlog at least one change around sockets: "Fix a cause of multiple att