svn commit: r1832518 - /tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java

2018-05-30 Thread remm
Author: remm Date: Wed May 30 07:17:08 2018 New Revision: 1832518 URL: http://svn.apache.org/viewvc?rev=1832518&view=rev Log: Refactor NIO2 timeouts with a utility method. Modified: tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java Modified: tomcat/trunk/java/org/apache/tomcat/u

[Bug 61524] NullPointerException in Http11OutputBuffer

2018-05-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61524 Mark Thomas changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|---

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

2018-05-30 Thread remm
Author: remm Date: Wed May 30 08:07:46 2018 New Revision: 1832519 URL: http://svn.apache.org/viewvc?rev=1832519&view=rev Log: Add missing timeout on handshake IO operations for NIO2. Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java tomcat/trunk/webapps/docs/ch

svn commit: r1832520 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/tomcat/util/net/Nio2Endpoint.java

2018-05-30 Thread remm
Author: remm Date: Wed May 30 08:27:59 2018 New Revision: 1832520 URL: http://svn.apache.org/viewvc?rev=1832520&view=rev Log: Refactor NIO2 timeouts with a utility method. Modified: tomcat/tc8.5.x/trunk/ (props changed) tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.

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

2018-05-30 Thread remm
Author: remm Date: Wed May 30 08:31:05 2018 New Revision: 1832522 URL: http://svn.apache.org/viewvc?rev=1832522&view=rev Log: Add missing timeout on handshake IO operations for NIO2. Modified: tomcat/tc8.5.x/trunk/ (props changed) tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/net/Sec

Re: JDK 11 Early Access build 15 is available for download.

2018-05-30 Thread Rory O'Donnell
Thanks for the update Mark. On 29/05/2018 16:01, Mark Thomas wrote: On 29/05/18 11:01, Rory O'Donnell wrote: Hi Mark, JDK 11 EA build 15 Builds without errors. Unit tests mostly OK. There are a couple of failures in TestSwallowAbortedUploads but that appears to be the result of a fragile te

Strict Host Header validation since Tomcat 7.0.87

2018-05-30 Thread Sven Buesing
Hello everyone, Hello Mark, @markt: as this change is from you, I've added you in cc. Please let me know if you're fine with this. Since Tomcat 7.0.87 Coyote has added a validation check for Host-Headers. The validation seems to expect that a host header is always a FQDN. But in common DNS setup

Re: Strict Host Header validation since Tomcat 7.0.87

2018-05-30 Thread Mark Thomas
On 30/05/18 10:00, Sven Buesing wrote: > Hello everyone, > Hello Mark, > > @markt: as this change is from you, I've added you in cc. Please let me know > if you're fine with this. No, I am not. Please do not send direct mail to Tomcat committers. If you have a Tomcat related question, it belongs

svn commit: r1832525 - /tomcat/trunk/java/org/apache/tomcat/util/http/parser/HttpParser.java

2018-05-30 Thread markt
Author: markt Date: Wed May 30 10:06:19 2018 New Revision: 1832525 URL: http://svn.apache.org/viewvc?rev=1832525&view=rev Log: Correctly handle a digest authorization header when the user name contains an escaped character. Modified: tomcat/trunk/java/org/apache/tomcat/util/http/parser/HttpP

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

2018-05-30 Thread markt
Author: markt Date: Wed May 30 10:07:14 2018 New Revision: 1832526 URL: http://svn.apache.org/viewvc?rev=1832526&view=rev Log: Update changelog Modified: tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/

svn commit: r1832527 - in /tomcat/trunk/test/org/apache/tomcat/util/http/parser: TestAuthorizationDigest.java TestHttpParser.java TestMediaType.java

2018-05-30 Thread markt
Author: markt Date: Wed May 30 10:07:30 2018 New Revision: 1832527 URL: http://svn.apache.org/viewvc?rev=1832527&view=rev Log: Improve code coverage Modified: tomcat/trunk/test/org/apache/tomcat/util/http/parser/TestAuthorizationDigest.java tomcat/trunk/test/org/apache/tomcat/util/http/p

svn commit: r1832528 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/tomcat/util/http/parser/HttpParser.java webapps/docs/changelog.xml

2018-05-30 Thread markt
Author: markt Date: Wed May 30 10:09:56 2018 New Revision: 1832528 URL: http://svn.apache.org/viewvc?rev=1832528&view=rev Log: Correctly handle a digest authorization header when the user name contains an escaped character. Modified: tomcat/tc8.5.x/trunk/ (props changed) tomcat/tc8.5.x

svn commit: r1832529 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/tomcat/util/http/parser/HttpParser.java webapps/docs/changelog.xml

2018-05-30 Thread markt
Author: markt Date: Wed May 30 10:10:36 2018 New Revision: 1832529 URL: http://svn.apache.org/viewvc?rev=1832529&view=rev Log: Correctly handle a digest authorization header when the user name contains an escaped character. Modified: tomcat/tc8.0.x/trunk/ (props changed) tomcat/tc8.0.x

svn commit: r1832530 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/tomcat/util/http/parser/HttpParser.java webapps/docs/changelog.xml

2018-05-30 Thread markt
Author: markt Date: Wed May 30 10:12:15 2018 New Revision: 1832530 URL: http://svn.apache.org/viewvc?rev=1832530&view=rev Log: Correctly handle a digest authorization header when the user name contains an escaped character. Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x

buildbot success in on tomcat-8-trunk

2018-05-30 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-8-trunk while building . Full details are available at: https://ci.apache.org/builders/tomcat-8-trunk/builds/1328 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler

svn commit: r1832545 - in /tomcat/trunk: java/org/apache/tomcat/util/http/parser/HttpParser.java test/org/apache/tomcat/util/http/parser/TestAuthorizationDigest.java webapps/docs/changelog.xml

2018-05-30 Thread markt
Author: markt Date: Wed May 30 13:40:16 2018 New Revision: 1832545 URL: http://svn.apache.org/viewvc?rev=1832545&view=rev Log: Correctly handle a digest authorization header when one of the hex field values ends the header with in an invalid character. Expand the test cases to improve coverage in

svn commit: r1832547 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/tomcat/util/http/parser/HttpParser.java test/org/apache/tomcat/util/http/parser/TestAuthorizationDigest.java webapps/docs/changelog.

2018-05-30 Thread markt
Author: markt Date: Wed May 30 13:40:59 2018 New Revision: 1832547 URL: http://svn.apache.org/viewvc?rev=1832547&view=rev Log: Correctly handle a digest authorization header when one of the hex field values ends the header with in an invalid character. Expand the test cases to improve coverage in

svn commit: r1832548 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/tomcat/util/http/parser/HttpParser.java test/org/apache/tomcat/util/http/parser/TestAuthorizationDigest.java webapps/docs/changelog.

2018-05-30 Thread markt
Author: markt Date: Wed May 30 13:41:26 2018 New Revision: 1832548 URL: http://svn.apache.org/viewvc?rev=1832548&view=rev Log: Correctly handle a digest authorization header when one of the hex field values ends the header with in an invalid character. Expand the test cases to improve coverage in

svn commit: r1832549 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/tomcat/util/http/parser/HttpParser.java test/org/apache/tomcat/util/http/parser/TestAuthorizationDigest.java webapps/docs/changelog.

2018-05-30 Thread markt
Author: markt Date: Wed May 30 13:47:23 2018 New Revision: 1832549 URL: http://svn.apache.org/viewvc?rev=1832549&view=rev Log: Correctly handle a digest authorization header when one of the hex field values ends the header with in an invalid character. Expand the test cases to improve coverage in

svn commit: r1832554 - in /tomcat/trunk: java/org/apache/tomcat/util/http/parser/HttpParser.java test/org/apache/tomcat/util/http/parser/TestAcceptLanguage.java webapps/docs/changelog.xml

2018-05-30 Thread markt
Author: markt Date: Wed May 30 15:38:35 2018 New Revision: 1832554 URL: http://svn.apache.org/viewvc?rev=1832554&view=rev Log: Correctly handle an invalid quality value in an Accept-Language header. Expand unit tests to cover this issue and improve coverage. Modified: tomcat/trunk/java/org/ap

svn commit: r1832555 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/tomcat/util/http/parser/HttpParser.java test/org/apache/tomcat/util/http/parser/TestAcceptLanguage.java webapps/docs/changelog.xml

2018-05-30 Thread markt
Author: markt Date: Wed May 30 15:39:19 2018 New Revision: 1832555 URL: http://svn.apache.org/viewvc?rev=1832555&view=rev Log: Correctly handle an invalid quality value in an Accept-Language header. Expand unit tests to cover this issue and improve coverage. Modified: tomcat/tc8.5.x/trunk/

svn commit: r1832556 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/tomcat/util/http/parser/HttpParser.java test/org/apache/tomcat/util/http/parser/TestAcceptLanguage.java webapps/docs/changelog.xml

2018-05-30 Thread markt
Author: markt Date: Wed May 30 15:39:46 2018 New Revision: 1832556 URL: http://svn.apache.org/viewvc?rev=1832556&view=rev Log: Correctly handle an invalid quality value in an Accept-Language header. Expand unit tests to cover this issue and improve coverage. Modified: tomcat/tc8.0.x/trunk/

svn commit: r1832572 - in /tomcat/trunk/java/org/apache/tomcat/util/net: Nio2Channel.java Nio2Endpoint.java SecureNio2Channel.java

2018-05-30 Thread remm
Author: remm Date: Wed May 30 20:46:02 2018 New Revision: 1832572 URL: http://svn.apache.org/viewvc?rev=1832572&view=rev Log: Rework timeout a bit, to align with the API (read and write from async channel without timeout use 0 in NIO2; Future.get(infinite) is not as efficient as get()). Modifie

svn commit: r1832573 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/tomcat/util/net/Nio2Channel.java java/org/apache/tomcat/util/net/Nio2Endpoint.java java/org/apache/tomcat/util/net/SecureNio2Channel

2018-05-30 Thread remm
Author: remm Date: Wed May 30 20:47:30 2018 New Revision: 1832573 URL: http://svn.apache.org/viewvc?rev=1832573&view=rev Log: Rework timeout a bit, to align with the API (read and write from async channel without timeout use 0 in NIO2; Future.get(infinite) is not as efficient as get()). Modifie

[Bug 62419] New: Avoid CORS Origin echoing by default

2018-05-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62419 Bug ID: 62419 Summary: Avoid CORS Origin echoing by default Product: Tomcat 8 Version: 8.5.14 Hardware: PC OS: Linux Status: NEW Severity: normal

[GUMP@vmgump-vm3]: Project taglibs-parent (in module tomcat-taglibs) failed

2018-05-30 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project taglibs-parent has an issue affecting its community integration, and has

[GUMP@vmgump-vm3]: Project taglibs-standard-spec (in module tomcat-taglibs) failed

2018-05-30 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project taglibs-standard-spec has an issue affecting its community integration, a