[Bug 65714] HTTPS connection error using NIO2 with security manager enabled

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65714 --- Comment #6 from Remy Maucherat --- (In reply to Mark Thomas from comment #5) > This looks to be related to the NIO2 completion handlers. Secure connections > do a handshake first so the main request processing is on a completion > handler t

[Bug 65714] HTTPS connection error using NIO2 with security manager enabled

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65714 --- Comment #7 from Mark Thomas --- I've found a workaround. The short version is when running under a security manager, have the handshake completion handlers for NIO2 always dispatch to a container thread. Slower, but it works. Commit will fo

[tomcat] branch 8.5.x updated: Fix Bz 65714 - security manager + TLS + NIO2

2021-12-01 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 The following commit(s) were added to refs/heads/8.5.x by this push: new dff6530 Fix Bz 65714 - security manager + TLS + NI

[tomcat] branch 9.0.x updated: Fix Bz 65714 - security manager + TLS + NIO2

2021-12-01 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 The following commit(s) were added to refs/heads/9.0.x by this push: new 68bc8ad Fix Bz 65714 - security manager + TLS + NI

[tomcat] branch 10.0.x updated: Fix Bz 65714 - security manager + TLS + NIO2

2021-12-01 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/10.0.x by this push: new 4fd0de2 Fix Bz 65714 - security manager + TLS +

[tomcat] branch main updated: Fix Bz 65714 - security manager + TLS + NIO2

2021-12-01 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/main by this push: new 9764aa4 Fix Bz 65714 - security manager + TLS + NIO2

Tagging 10.1.x & 10.0.x

2021-12-01 Thread Mark Thomas
Hi all, It is the start of a new month so I am intending to tag 10.1.x and 10.0.x shortly. I do have a slight concern that the DigiCert code signing renewal either isn't complete or hasn't been processed fully as there is one location where an expiry data of yesterday is shown. I'll report b

[Bug 65714] HTTPS connection error using NIO2 with security manager enabled

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65714 Mark Thomas changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

Re: Tagging 10.1.x & 10.0.x

2021-12-01 Thread Rémy Maucherat
On Wed, Dec 1, 2021 at 10:42 AM Mark Thomas wrote: > > Hi all, > > It is the start of a new month so I am intending to tag 10.1.x and > 10.0.x shortly. > > I do have a slight concern that the DigiCert code signing renewal either > isn't complete or hasn't been processed fully as there is one locat

[Bug 65714] HTTPS connection error using NIO2 with security manager enabled

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65714 --- Comment #9 from Allan --- Sounds great. Appreciate the quick turn around. Don't mind a slower option for now. Looking forward to test this in the next release -- You are receiving this mail because: You are the assignee for the bug.

[tomcat] branch 8.5.x updated: Try to improve test reliability

2021-12-01 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 The following commit(s) were added to refs/heads/8.5.x by this push: new 86cd4eb Try to improve test reliability 86cd4eb is

[tomcat] branch 9.0.x updated: Try to improve test reliability

2021-12-01 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 The following commit(s) were added to refs/heads/9.0.x by this push: new 8747144 Try to improve test reliability 8747144 is

[tomcat] branch 10.0.x updated: Try to improve test reliability

2021-12-01 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/10.0.x by this push: new b6a8953 Try to improve test reliability b6a8953

[tomcat] branch main updated: Try to improve test reliability

2021-12-01 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/main by this push: new b42d2ed Try to improve test reliability b42d2ed is d

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #5 from promena...@163.com --- test code: @RestController @RequestMapping(value = "/demo") public class DemoController { @RequestMapping(value = "/upload",method = RequestMethod.POST) public String upload(@RequestParam("file

[tomcat] branch main updated: Align behaviour on MacOs with Linux/Windows

2021-12-01 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/main by this push: new 41ec23a Align behaviour on MacOs with Linux/Windows

[tomcat] branch 10.0.x updated: Align behaviour on MacOs with Linux/Windows

2021-12-01 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/10.0.x by this push: new 263b6e0 Align behaviour on MacOs with Linux/Wind

[tomcat] branch 9.0.x updated: Align behaviour on MacOs with Linux/Windows

2021-12-01 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 The following commit(s) were added to refs/heads/9.0.x by this push: new 4cd533b Align behaviour on MacOs with Linux/Window

[tomcat] branch 8.5.x updated: Align behaviour on MacOs with Linux/Windows

2021-12-01 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 The following commit(s) were added to refs/heads/8.5.x by this push: new 3a4c7bf Align behaviour on MacOs with Linux/Window

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #6 from Mark Thomas --- Java version? -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.a

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #7 from Mark Thomas --- My testing so far indicates that this is a Java 8 bug. With Java 11 the file descriptors are cleaned up. In Java 8, they are not. -- You are receiving this mail because: You are the assignee for the bug. --

[tomcat] branch main updated: Align behaviour on MacOs with Linux/Windows

2021-12-01 Thread remm
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/main by this push: new 1320a0a Align behaviour on MacOs with Linux/Windows 1

Re: Tagging 10.1.x & 10.0.x

2021-12-01 Thread Mark Thomas
On 01/12/2021 10:03, Rémy Maucherat wrote: On Wed, Dec 1, 2021 at 10:42 AM Mark Thomas wrote: Hi all, It is the start of a new month so I am intending to tag 10.1.x and 10.0.x shortly. I do have a slight concern that the DigiCert code signing renewal either isn't complete or hasn't been proc

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #8 from Christopher Schultz --- (In reply to promenader from comment #5) > public String upload(@RequestParam("file") MultipartFile file){ > try{ > InputStream inputStream = file.getInputStream(); >

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #9 from promena...@163.com --- (In reply to Mark Thomas from comment #7) > My testing so far indicates that this is a Java 8 bug. With Java 11 the file > descriptors are cleaned up. In Java 8, they are not. Yes. This is in Java 8. B

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #10 from promena...@163.com --- (In reply to Christopher Schultz from comment #8) > (In reply to promenader from comment #5) > > public String upload(@RequestParam("file") MultipartFile file){ > > try{ > > Inp

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #11 from promena...@163.com --- I am confused why Java 8 in Tomcat 9.0.52 can autoRelease the handle. while Java 8 Tomcat 9.0.54 cann't. -- You are receiving this mail because: You are the assignee for the bug. ---