[Bug 61768] Processor for async requests are recycled before complete is called on AsyncContext

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61768 --- Comment #2 from Herbert Wespi --- I do have a different point of view here. I also thought in the beginning, that it is the fault of the Jersey Framework, because if I would implement an asynchronous request

Re: [VOTE] Release Apache Tomcat Native 1.2.16

2017-11-16 Thread Rémy Maucherat
On Wed, Nov 15, 2017 at 12:03 PM, Mark Thomas wrote: > Version 1.2.16 includes the following changes compared to 1.2.14: > > - Update minimum recommended OpenSSL version to 1.0.2m > - Update minimum recommended APR version to 1.6.3 > - Windows binaries built with OpenSSL 1.0.2m

[Bug 61773] When more than 10000 times of HTTPS websocket, Tomcat cannot respond to requesting HTTPS requests

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61773 Remy Maucherat changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 61773] When more than 10000 times of HTTPS websocket, Tomcat cannot respond to requesting HTTPS requests

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61773 --- Comment #1 from Xiaojin Zhang --- Blocked at Nio2Endpoint$Acceptor.countUpOrAwaitConnection.Thread information below. "http-nio2-8443-Acceptor-0" #182 daemon prio=5 os_prio=0 tid=0x7fe20c1ea000 nid=0xe85 waiting on

[Bug 61773] New: When more than 10000 times of HTTPS websocket, Tomcat cannot respond to requesting HTTPS requests

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61773 Bug ID: 61773 Summary: When more than 1 times of HTTPS websocket, Tomcat cannot respond to requesting HTTPS requests Product: Tomcat 8 Version: 8.0.47 Hardware: All

[Bug 61692] CGIServlet should handle additional HTTP methods, for example MKCALENDAR, MKCOL, PROPFIND, PROPPATCH

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61692 --- Comment #4 from Mark Thomas --- Currently, the CGI servlet only handles a request body if the method is POST and the Content-Length header is set. Unless there are objections then I propose the following: - allow any

[Bug 61768] Processor for async requests are recycled before complete is called on AsyncContext

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61768 Mark Thomas changed: What|Removed |Added Resolution|--- |INVALID

svn commit: r1815508 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/core/AsyncContextImpl.java webapps/docs/changelog.xml

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 20:02:54 2017 New Revision: 1815508 URL: http://svn.apache.org/viewvc?rev=1815508=rev Log: Avoid a possible NullPointerException when timing out AsyncContext instances during shut down. Modified: tomcat/tc7.0.x/trunk/ (props changed)

svn commit: r1815507 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/core/AsyncContextImpl.java webapps/docs/changelog.xml

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 20:02:19 2017 New Revision: 1815507 URL: http://svn.apache.org/viewvc?rev=1815507=rev Log: Avoid a possible NullPointerException when timing out AsyncContext instances during shut down. Modified: tomcat/tc8.0.x/trunk/ (props changed)

svn commit: r1815506 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/catalina/core/AsyncContextImpl.java webapps/docs/changelog.xml

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 20:01:50 2017 New Revision: 1815506 URL: http://svn.apache.org/viewvc?rev=1815506=rev Log: Avoid a possible NullPointerException when timing out AsyncContext instances during shut down. Modified: tomcat/tc8.5.x/trunk/ (props changed)

svn commit: r1815505 - in /tomcat/trunk: java/org/apache/catalina/core/AsyncContextImpl.java webapps/docs/changelog.xml

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 20:01:12 2017 New Revision: 1815505 URL: http://svn.apache.org/viewvc?rev=1815505=rev Log: Avoid a possible NullPointerException when timing out AsyncContext instances during shut down. Modified: tomcat/trunk/java/org/apache/catalina/core/AsyncContextImpl.java

[Bug 61766] Getting 503 error while accessing application ,After restarting httpd service it works fine

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61766 --- Comment #7 from Christopher Schultz --- http://lmgtfy.com/?q=windows+errno+60 Let's move this discussion to the user's list, please, and not waste space in Bugzilla. -- You are receiving this mail because:

[Bug 61768] New: Processor for async requests are recycled before complete is called on AsyncContext

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61768 Bug ID: 61768 Summary: Processor for async requests are recycled before complete is called on AsyncContext Product: Tomcat 8 Version: 8.5.20 Hardware: All

buildbot success in on tomcat-7-trunk

2017-11-16 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-7-trunk while building . Full details are available at: https://ci.apache.org/builders/tomcat-7-trunk/builds/934 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler

[GitHub] tomcat pull request #73: Bug 57767 - Websocket client proprietary configurat...

2017-11-16 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/73 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

svn commit: r1815467 - in /tomcat/tc8.5.x/trunk: ./ java/javax/security/auth/message/config/AuthConfigFactory.java webapps/docs/changelog.xml

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 14:58:37 2017 New Revision: 1815467 URL: http://svn.apache.org/viewvc?rev=1815467=rev Log: Improve concurrency by reducing the scope of the synchronisation for javax.security.auth.message.config.AuthConfigFactory in the JASPIC API implementation. Based on a patch

svn commit: r1815465 - in /tomcat/trunk: java/javax/security/auth/message/config/AuthConfigFactory.java webapps/docs/changelog.xml

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 14:55:51 2017 New Revision: 1815465 URL: http://svn.apache.org/viewvc?rev=1815465=rev Log: Improve concurrency by reducing the scope of the synchronisation for javax.security.auth.message.config.AuthConfigFactory in the JASPIC API implementation. Based on a patch

svn commit: r1815462 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/tomcat/util/net/NioBlockingSelector.java

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 14:37:51 2017 New Revision: 1815462 URL: http://svn.apache.org/viewvc?rev=1815462=rev Log: Follow-up to r1815455 Review from kkolinko Modified: tomcat/tc7.0.x/trunk/ (props changed)

svn commit: r1815461 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/tomcat/util/net/NioBlockingSelector.java

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 14:37:15 2017 New Revision: 1815461 URL: http://svn.apache.org/viewvc?rev=1815461=rev Log: Follow-up to r1815453 Review from kkolinko Modified: tomcat/tc8.0.x/trunk/ (props changed)

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

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 14:36:42 2017 New Revision: 1815460 URL: http://svn.apache.org/viewvc?rev=1815460=rev Log: Follow-up to r1815452 Review from kkolinko Modified: tomcat/tc8.5.x/trunk/ (props changed)

svn commit: r1815459 - /tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 14:35:28 2017 New Revision: 1815459 URL: http://svn.apache.org/viewvc?rev=1815459=rev Log: Follow-up to r1815451 Review from kkolinko Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java Modified:

buildbot failure in on tomcat-7-trunk

2017-11-16 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-7-trunk while building . Full details are available at: https://ci.apache.org/builders/tomcat-7-trunk/builds/933 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler

Re: svn commit: r1815451 - in /tomcat/trunk: java/org/apache/tomcat/util/net/NioBlockingSelector.java java/org/apache/tomcat/util/net/NioEndpoint.java webapps/docs/changelog.xml

2017-11-16 Thread Mark Thomas
On 16/11/17 14:05, Konstantin Kolinko wrote: > 2017-11-16 16:30 GMT+03:00 : >> Author: markt >> Date: Thu Nov 16 13:30:26 2017 >> New Revision: 1815451 >> >> URL: http://svn.apache.org/viewvc?rev=1815451=rev >> Log: >> Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61736 >>

[Bug 61766] Getting 503 error while accessing application ,After restarting httpd service it works fine

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61766 --- Comment #6 from Devidutta Panda --- OS is Windows 2012 R2 -- You are receiving this mail because: You are the assignee for the bug. - To

Re: [VOTE] Release Apache Tomcat Native 1.2.16

2017-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/15/17 6:03 AM, Mark Thomas wrote: > Version 1.2.16 includes the following changes compared to 1.2.14: > > - Update minimum recommended OpenSSL version to 1.0.2m - Update > minimum recommended APR version to 1.6.3 - Windows binaries

[Bug 61766] Getting 503 error while accessing application ,After restarting httpd service it works fine

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61766 --- Comment #5 from Christopher Schultz --- (In reply to Devidutta Panda from comment #4) > Created attachment 35530 [details] > Detailed Logs > > [Tue Nov 07 08:41:27.910 2017] [20408:5952] [info] >

svn commit: r1815456 - in /tomcat/trunk/java/org/apache/coyote/http2: Http2AsyncUpgradeHandler.java Http2UpgradeHandler.java

2017-11-16 Thread remm
Author: remm Date: Thu Nov 16 14:11:53 2017 New Revision: 1815456 URL: http://svn.apache.org/viewvc?rev=1815456=rev Log: Improvement on header write sync. Modified: tomcat/trunk/java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java

Re: svn commit: r1815451 - in /tomcat/trunk: java/org/apache/tomcat/util/net/NioBlockingSelector.java java/org/apache/tomcat/util/net/NioEndpoint.java webapps/docs/changelog.xml

2017-11-16 Thread Konstantin Kolinko
2017-11-16 16:30 GMT+03:00 : > Author: markt > Date: Thu Nov 16 13:30:26 2017 > New Revision: 1815451 > > URL: http://svn.apache.org/viewvc?rev=1815451=rev > Log: > Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61736 > Improve performance of NIO connector when clients leave

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

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 13:31:19 2017 New Revision: 1815452 URL: http://svn.apache.org/viewvc?rev=1815452=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61736 Improve performance of NIO connector when clients leave large time gaps between network packets. Patch provided by

svn commit: r1815451 - in /tomcat/trunk: java/org/apache/tomcat/util/net/NioBlockingSelector.java java/org/apache/tomcat/util/net/NioEndpoint.java webapps/docs/changelog.xml

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 13:30:26 2017 New Revision: 1815451 URL: http://svn.apache.org/viewvc?rev=1815451=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61736 Improve performance of NIO connector when clients leave large time gaps between network packets. Patch provided by

[Bug 61751] NIO2 connector cuts incoming request

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61751 Mark Thomas changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment

svn commit: r1815453 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/tomcat/util/net/NioBlockingSelector.java java/org/apache/tomcat/util/net/NioEndpoint.java webapps/docs/changelog.xml

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 13:33:11 2017 New Revision: 1815453 URL: http://svn.apache.org/viewvc?rev=1815453=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61736 Improve performance of NIO connector when clients leave large time gaps between network packets. Patch provided by

svn commit: r1815455 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/tomcat/util/net/NioBlockingSelector.java java/org/apache/tomcat/util/net/NioEndpoint.java webapps/docs/changelog.xml

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 13:35:40 2017 New Revision: 1815455 URL: http://svn.apache.org/viewvc?rev=1815455=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61736 Improve performance of NIO connector when clients leave large time gaps between network packets. Patch provided by

[Bug 61736] NIO BlockPoller may stay at events() method for too long time

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61736 Mark Thomas changed: What|Removed |Added Resolution|--- |FIXED

[Bug 61740] Intermittent NIO HTTP/2 errors

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61740 --- Comment #5 from David Frankson --- Thanks for the speedy fixes! -- You are receiving this mail because: You are the assignee for the bug.

[GitHub] tomcat pull request #81: BUG 61736 - Fix NIO BlockPoller bug for it's too bu...

2017-11-16 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/tomcat/pull/81 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[Bug 61751] NIO2 connector cuts incoming request

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61751 --- Comment #1 from Remy Maucherat --- Do you think you could give some pointers on reproduction ? In the past there was BZ57799 which was caused by an unexpected interaction with use of available() by the framework. -- You

[Bug 61736] NIO BlockPoller may stay at events() method for too long time

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61736 --- Comment #4 from Mark Thomas --- My point was not that the queue was the root cause. My point was that because the queue implementation is a custom one it *might* offer a cleaner way to implement the polling of the queue

buildbot success in on tomcat-trunk

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

[Bug 61740] Intermittent NIO HTTP/2 errors

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61740 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED

svn commit: r1815445 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/coyote/http2/HpackDecoder.java java/org/apache/coyote/http2/LocalStrings.properties webapps/docs/changelog.xml

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 12:24:25 2017 New Revision: 1815445 URL: http://svn.apache.org/viewvc?rev=1815445=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61740 Correct an off-by-one error in the Hpack header index validation that caused intermittent request failures when using

svn commit: r1815444 - /tomcat/tc8.5.x/trunk/test/org/apache/coyote/http2/TestAbstractStream.java

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 12:22:30 2017 New Revision: 1815444 URL: http://svn.apache.org/viewvc?rev=1815444=rev Log: Fix back-port Modified: tomcat/tc8.5.x/trunk/test/org/apache/coyote/http2/TestAbstractStream.java Modified:

svn commit: r1815443 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/coyote/http2/LocalStrings.properties

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 12:20:23 2017 New Revision: 1815443 URL: http://svn.apache.org/viewvc?rev=1815443=rev Log: alphabetical order Modified: tomcat/tc8.5.x/trunk/ (props changed) tomcat/tc8.5.x/trunk/java/org/apache/coyote/http2/LocalStrings.properties Propchange:

svn commit: r1815442 - in /tomcat/trunk: java/org/apache/coyote/http2/HpackDecoder.java java/org/apache/coyote/http2/LocalStrings.properties webapps/docs/changelog.xml

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 12:19:10 2017 New Revision: 1815442 URL: http://svn.apache.org/viewvc?rev=1815442=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61740 Correct an off-by-one error in the Hpack header index validation that caused intermittent request failures when using

svn commit: r1815441 - /tomcat/trunk/java/org/apache/coyote/http2/LocalStrings.properties

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 12:13:09 2017 New Revision: 1815441 URL: http://svn.apache.org/viewvc?rev=1815441=rev Log: alphabetical order Modified: tomcat/trunk/java/org/apache/coyote/http2/LocalStrings.properties Modified:

[Bug 61740] Intermittent NIO HTTP/2 errors

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61740 --- Comment #3 from Mark Thomas --- A huge thank you for the test case. This bug has all the hallmarks of being very tricky to track down the root cause. Having a reliable test case is an enormous help. I'm able to reproduce

[Bug 61683] NullPointerException in ErrorReportValve while executing HTTP/2 Server Push

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61683 --- Comment #2 from Mark Thomas --- Looking at the source code for 9.0.1 line 81 of the ErrorReportValve is: getNext().invoke(request, response); That suggests getNext() returned null. For that to happen, something would

buildbot failure in on tomcat-trunk

2017-11-16 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-trunk while building . Full details are available at: https://ci.apache.org/builders/tomcat-trunk/builds/2809 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler

[Bug 61682] StackOverflowError while executing HTTP/2 Server Push

2017-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61682 Mark Thomas changed: What|Removed |Added Resolution|--- |FIXED

svn commit: r1815430 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/coyote/http2/Http2UpgradeHandler.java java/org/apache/coyote/http2/Stream.java test/org/apache/coyote/http2/TestAbstractStream.java

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 10:15:43 2017 New Revision: 1815430 URL: http://svn.apache.org/viewvc?rev=1815430=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61682 When re-prioritising HTTP/2 streams, ensure that both parent and children fields are correctly updated to avoid a

svn commit: r1815429 - in /tomcat/trunk: java/org/apache/coyote/http2/Http2UpgradeHandler.java java/org/apache/coyote/http2/Stream.java test/org/apache/coyote/http2/TestAbstractStream.java webapps/doc

2017-11-16 Thread markt
Author: markt Date: Thu Nov 16 10:14:39 2017 New Revision: 1815429 URL: http://svn.apache.org/viewvc?rev=1815429=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61682 When re-prioritising HTTP/2 streams, ensure that both parent and children fields are correctly updated to avoid a