[Bug 65154] New: java.io.IOException: Unexpected error [104] writing data to the APR/native socket

2021-02-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65154 Bug ID: 65154 Summary: java.io.IOException: Unexpected error [104] writing data to the APR/native socket Product: Tomcat 9 Version: 9.0.43 Hardware: PC OS

[Bug 65131] OpenSSLEngine errors on a connection affect other connections

2021-02-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65131 --- Comment #4 from Mark Thomas --- I can't recreate this using the provided test case, Tomcat Native 1.2.26 and the latest OpenSSL 1.1.1 source code. I'll note that Tomcat 1.2.26 won't compile with OpenSSL 1.0.2 so I do wonder exactly what ve

[Bug 65131] OpenSSLEngine errors on a connection affect other connections

2021-02-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65131 --- Comment #5 from Remy Maucherat --- (In reply to Mark Thomas from comment #4) > I can't recreate this using the provided test case, Tomcat Native 1.2.26 and > the latest OpenSSL 1.1.1 source code. > > I'll note that Tomcat 1.2.26 won't comp

[Bug 65154] java.io.IOException: Unexpected error [104] writing data to the APR/native socket

2021-02-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65154 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 65118] Spurious null pointer exception in Http2UpgradeHandler when reloading web page

2021-02-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65118 Mark Thomas changed: What|Removed |Added Status|REOPENED|NEEDINFO --- Comment #6 from Mark Thomas

[Bug 65154] java.io.IOException: Unexpected error [104] writing data to the APR/native socket

2021-02-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65154 sl...@aceslash.net changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #2 from sl...@ac

[Bug 65154] java.io.IOException: Unexpected error [104] writing data to the APR/native socket

2021-02-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65154 --- Comment #3 from sl...@aceslash.net --- This is the result on one application: # for n in {01..22}; do echo -n "log.2021-02-${n}_09.log "; grep "Unexpected error" log.2021-02-${n}_09.log | wc -l; done log.2021-02-01_09.log 6144 log.2021-02-0

[Bug 65154] java.io.IOException: Unexpected error [104] writing data to the APR/native socket

2021-02-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65154 Mark Thomas changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #4 from Mark Thomas

[Bug 65118] Spurious null pointer exception in Http2UpgradeHandler when reloading web page

2021-02-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65118 Mark Thomas changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #7 from Mark Thomas ---

[Bug 65154] java.io.IOException: Unexpected error [104] writing data to the APR/native socket

2021-02-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65154 --- Comment #5 from Remy Maucherat --- If we're comparing the connectors as of right now, I would say I prefer NIO2 over NIO on Java 8, since Oracle was not fixing or improving NIO then. Now with the next LTS coming up, I would say NIO is now

[tomcat] branch master updated (b9b3fa7 -> ffe30d9)

2021-02-22 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git. from b9b3fa7 Fix bz 65137 Don't corrupt response on early termination new 23f8eb5 Add missing parameter in log messa

[tomcat] 02/02: Additional fix for BZ 65118

2021-02-22 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git commit ffe30d91cd90c5c02bc15ec8b15cff43f18557f5 Author: Mark Thomas AuthorDate: Mon Feb 22 16:32:55 2021 + Additional f

[tomcat] 01/02: Add missing parameter in log message. Fix comment typo.

2021-02-22 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git commit 23f8eb5c42c6e4bd3c877a95083020912ee67eb1 Author: Mark Thomas AuthorDate: Mon Feb 22 16:30:29 2021 + Add missing

[tomcat] branch 9.0.x updated (e0da301 -> 5c9c7eb)

2021-02-22 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a change to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git. from e0da301 Align code with 8.5.x new 8636627 Add missing parameter in log message. Fix comment typo. new 5c9c7

[tomcat] 01/02: Add missing parameter in log message. Fix comment typo.

2021-02-22 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git commit 863662778f61598ba9185e6b74006e3a7c9a3a89 Author: Mark Thomas AuthorDate: Mon Feb 22 16:30:29 2021 + Add missing p

[tomcat] 02/02: Additional fix for BZ 65118

2021-02-22 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git commit 5c9c7eb1d86e0c6d98aa28ecab98304c6cad2bde Author: Mark Thomas AuthorDate: Mon Feb 22 16:32:55 2021 + Additional fi

[tomcat] branch 8.5.x updated (af7b667 -> 0a3fd6b)

2021-02-22 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a change to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git. from af7b667 Fix bz 65137 Don't corrupt response on early termination new 11f1377 Add missing parameter in log messag

[tomcat] 01/02: Add missing parameter in log message. Fix comment typo.

2021-02-22 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git commit 11f137718fe8df61fdadc379d5edd6637de44843 Author: Mark Thomas AuthorDate: Mon Feb 22 16:30:29 2021 + Add missing p

[tomcat] 02/02: Additional fix for BZ 65118

2021-02-22 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git commit 0a3fd6b162e550477b2e44a4aabbb99c0e677e08 Author: Mark Thomas AuthorDate: Mon Feb 22 16:32:55 2021 + Additional fi

[Bug 65118] Spurious null pointer exception in Http2UpgradeHandler when reloading web page

2021-02-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65118 Mark Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 65131] OpenSSLEngine errors on a connection affect other connections

2021-02-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65131 --- Comment #6 from Mark Thomas --- Yes, the OP is correct that the clearLastError call in unwrap is there is part of this fix: https://github.com/apache/tomcat/commit/ebab25 I agree that using a loop looks to be the right approach here. --

tomcat with epollWait always return keyCount=0, but the read buffer still have data and cause many close_wait

2021-02-22 Thread Dan Zheng
1. Environment OS: CentOS Linux release 7.8.2003 (Core) JDK: java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) Tomcat: tomcat-embed-core-8.5.32 with spring-boot-2.0.4-RELEASE 2. Reproduce Steps 1. requ

Re: tomcat with epollWait always return keyCount=0, but the read buffer still have data and cause many close_wait

2021-02-22 Thread Rémy Maucherat
On Tue, Feb 23, 2021 at 4:07 AM Dan Zheng wrote: > 1. Environment > OS: CentOS Linux release 7.8.2003 (Core) > > JDK: java version "1.8.0_181" > Java(TM) SE Runtime Environment (build 1.8.0_181-b13) > Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) > > Tomcat: tomcat-embed-core-8