MappedByteBuffer, Windows and locked files

2022-06-21 Thread Mark Thomas
Hi all, See [1] for further background. The current sendfile implementation for async HTTP/2 uses a MappedByteBuffer as the source. Unfortunately, MappedByteBuffer has some problematic side effects on Windows. The underlying file is locked until the MappedByteBuffer is GC'd. This causes pro

[tomcat] branch main updated: Fix build

2022-06-21 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 9570033bfe Fix build 9570033bfe is described below c

[tomcat] branch 10.0.x updated: Fix build

2022-06-21 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 0b64494412 Fix build 0b64494412 is described belo

[tomcat] branch 9.0.x updated: Fix build

2022-06-21 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 b4fdbfc4e3 Fix build b4fdbfc4e3 is described below

[tomcat] branch 8.5.x updated: Fix build

2022-06-21 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 7815e16614 Fix build 7815e16614 is described below

Re: MappedByteBuffer, Windows and locked files

2022-06-21 Thread Rémy Maucherat
On Tue, Jun 21, 2022 at 9:13 AM Mark Thomas wrote: > > Hi all, > > See [1] for further background. > > The current sendfile implementation for async HTTP/2 uses a > MappedByteBuffer as the source. > > Unfortunately, MappedByteBuffer has some problematic side effects on > Windows. The underlying fi

[tomcat] branch main updated: Update to latest OpenJDK 11 to fix test failure.

2022-06-21 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 0cd09b421e Update to latest OpenJDK 11 to fix test fa

[tomcat] branch 10.0.x updated: Update to latest OpenJDK 11 to fix test failure.

2022-06-21 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 f2e4fc3245 Update to latest OpenJDK 11 to fix tes

[tomcat] branch 9.0.x updated: Update to latest OpenJDK 11 to fix test failure.

2022-06-21 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 5cfa8af10a Update to latest OpenJDK 11 to fix test

[tomcat] branch 8.5.x updated: Update to latest OpenJDK 11 to fix test failure.

2022-06-21 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 08a756091f Update to latest OpenJDK 11 to fix test

[tomcat] branch 10.0.x updated: Fix Java 17 Javadoc warnings

2022-06-21 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 0e301c4d9b Fix Java 17 Javadoc warnings 0e301c4d9

[tomcat] branch main updated: Fix Java 17 Javadoc warnings

2022-06-21 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 cdcd8402ed Fix Java 17 Javadoc warnings cdcd8402ed is

[tomcat] branch 8.5.x updated: Fix Java 17 Javadoc warnings

2022-06-21 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 b083291c7a Fix Java 17 Javadoc warnings b083291c7a

[tomcat] branch 9.0.x updated: Fix Java 17 Javadoc warnings

2022-06-21 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 7f11698c1d Fix Java 17 Javadoc warnings 7f11698c1d

Re: MappedByteBuffer, Windows and locked files

2022-06-21 Thread Mark Thomas
On 21/06/2022 08:53, Rémy Maucherat wrote: On Tue, Jun 21, 2022 at 9:13 AM Mark Thomas wrote: Hi all, See [1] for further background. The current sendfile implementation for async HTTP/2 uses a MappedByteBuffer as the source. Unfortunately, MappedByteBuffer has some problematic side effects

Re: MappedByteBuffer, Windows and locked files

2022-06-21 Thread Rémy Maucherat
kOn Tue, Jun 21, 2022 at 12:41 PM Mark Thomas wrote: > > On 21/06/2022 08:53, Rémy Maucherat wrote: > > On Tue, Jun 21, 2022 at 9:13 AM Mark Thomas wrote: > >> > >> Hi all, > >> > >> See [1] for further background. > >> > >> The current sendfile implementation for async HTTP/2 uses a > >> MappedB

[tomcat] branch 10.0.x updated: Fix OpenSSL version check

2022-06-21 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 8dfe1b469e Fix OpenSSL version check 8dfe1b469e i

[tomcat] branch main updated: Fix OpenSSL version check

2022-06-21 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 b18acf0140 Fix OpenSSL version check b18acf0140 is de

[tomcat] branch 9.0.x updated: Fix OpenSSL version check

2022-06-21 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 1bef182ffa Fix OpenSSL version check 1bef182ffa is

[tomcat] branch 8.5.x updated: Fix OpenSSL version check

2022-06-21 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 9e2623d020 Fix OpenSSL version check 9e2623d020 is

[tomcat-native] branch main updated: Rename flag to better reflect usage

2022-06-21 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-native.git The following commit(s) were added to refs/heads/main by this push: new 0f0df3394 Rename flag to better reflect usage

[tomcat-native] branch 1.2.x updated: Rename flag to better reflect usage

2022-06-21 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 1.2.x in repository https://gitbox.apache.org/repos/asf/tomcat-native.git The following commit(s) were added to refs/heads/1.2.x by this push: new dfd3251a4 Rename flag to better reflect usag

[tomcat] branch main updated: Avoid using an improbable allocator for this

2022-06-21 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 d1f8f1bfc1 Avoid using an improbable allocator for thi

Re: Tomcat Native and OpenSSL 3.0.x

2022-06-21 Thread Mark Thomas
On 16/06/2022 11:10, Mark Thomas wrote: OpenSSL will be producing security releases on 21st June. This will include 3.0.4. The security issue affects a script distributed with OpenSSL. The binaries for Windows that Tomcat distributes are not affected. OpenSSL 3.0.3 won't build for Windows us

Re: MappedByteBuffer, Windows and locked files

2022-06-21 Thread Mark Thomas
On 21/06/2022 13:25, Rémy Maucherat wrote: kOn Tue, Jun 21, 2022 at 12:41 PM Mark Thomas wrote: On 21/06/2022 08:53, Rémy Maucherat wrote: On Tue, Jun 21, 2022 at 9:13 AM Mark Thomas wrote: Hi all, See [1] for further background. The current sendfile implementation for async HTTP/2 uses

[tomcat-native] branch main updated: Rename

2022-06-21 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-native.git The following commit(s) were added to refs/heads/main by this push: new 86ca1e588 Rename 86ca1e588 is described below

[tomcat-native] branch 1.2.x updated: Add patch file for OpenSSL 3.0.x (copied from main)

2022-06-21 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 1.2.x in repository https://gitbox.apache.org/repos/asf/tomcat-native.git The following commit(s) were added to refs/heads/1.2.x by this push: new 5e4c081a2 Add patch file for OpenSSL 3.0.x (

[Bug 66134] New: TomcatAdminRoles ignored when using installer configuration file

2022-06-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66134 Bug ID: 66134 Summary: TomcatAdminRoles ignored when using installer configuration file Product: Tomcat 9 Version: 9.0.64 Hardware: PC Status: NEW S

Re: MappedByteBuffer, Windows and locked files

2022-06-21 Thread Rémy Maucherat
On Tue, Jun 21, 2022 at 8:47 PM Mark Thomas wrote: > > On 21/06/2022 13:25, Rémy Maucherat wrote: > > kOn Tue, Jun 21, 2022 at 12:41 PM Mark Thomas wrote: > >> > >> On 21/06/2022 08:53, Rémy Maucherat wrote: > >>> On Tue, Jun 21, 2022 at 9:13 AM Mark Thomas wrote: > > Hi all, > >