[tomcat] branch main updated: Add support for gb18030-2022 introduced in Java 21

2023-04-20 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 c41f72fada Add support for gb18030-2022 introduced in

[tomcat] branch 10.1.x updated: Add support for gb18030-2022 introduced in Java 21

2023-04-20 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/10.1.x by this push: new 1ef0e9f808 Add support for gb18030-2022 introduce

[tomcat] branch 9.0.x updated: Add support for gb18030-2022 introduced in Java 21

2023-04-20 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 bc4c185c7e Add support for gb18030-2022 introduced

[tomcat] branch 8.5.x updated: Add support for gb18030-2022 introduced in Java 21

2023-04-20 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 286e574b45 Add support for gb18030-2022 introduced

[tomcat] branch main updated: Fix typos

2023-04-20 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 6ebd61aea0 Fix typos 6ebd61aea0 is described below c

[tomcat] branch 10.1.x updated: Fix typos

2023-04-20 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/10.1.x by this push: new 575111c294 Fix typos 575111c294 is described belo

[tomcat] branch 9.0.x updated: Fix typos

2023-04-20 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 05c5258cb7 Fix typos 05c5258cb7 is described below

[tomcat] branch 8.5.x updated: Fix typos

2023-04-20 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 b6adb83b84 Fix typos b6adb83b84 is described below

[Bug 66575] New: Use of ByteBuffer.array() not guarded by hasArray()

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66575 Bug ID: 66575 Summary: Use of ByteBuffer.array() not guarded by hasArray() Product: Tomcat 10 Version: unspecified Hardware: PC OS: Mac OS X 10.1 Status: NEW

[Bug 66575] Use of ByteBuffer.array() not guarded by hasArray()

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66575 Remy Maucherat changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from Remy Mau

[Bug 66575] Use of ByteBuffer.array() not guarded by hasArray()

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66575 Simon Baslé changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #2 from Simon Baslé ---

[Bug 66575] Use of ByteBuffer.array() not guarded by hasArray()

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66575 --- Comment #3 from Mark Koszykowski --- In the specific example of the `PerMessageDeflate`, the issue of the ReadOnlyException can seemingly be resolved by instead using the `setInput​(ByteBuffer input)` method on the uncompressedPayload in `

[GitHub] [tomcat-training] dependabot[bot] opened a new pull request, #14: Bump json-schema from 0.2.3 to 0.4.0

2023-04-20 Thread via GitHub
dependabot[bot] opened a new pull request, #14: URL: https://github.com/apache/tomcat-training/pull/14 Bumps [json-schema](https://github.com/kriszyp/json-schema) from 0.2.3 to 0.4.0. Commits https://github.com/kriszyp/json-schema/commit/f6f6a3b02d667aa4ba2d5d50cc19208c4462abfa

[GitHub] [tomcat-training] dependabot[bot] opened a new pull request, #15: Bump ms from 0.7.1 to 2.0.0

2023-04-20 Thread via GitHub
dependabot[bot] opened a new pull request, #15: URL: https://github.com/apache/tomcat-training/pull/15 Bumps [ms](https://github.com/vercel/ms) from 0.7.1 to 2.0.0. Release notes Sourced from https://github.com/vercel/ms/releases";>ms's releases. 2.0.0 Major Changes

[GitHub] [tomcat-training] dependabot[bot] opened a new pull request, #16: Bump debug from 2.2.0 to 2.6.9

2023-04-20 Thread via GitHub
dependabot[bot] opened a new pull request, #16: URL: https://github.com/apache/tomcat-training/pull/16 Bumps [debug](https://github.com/debug-js/debug) from 2.2.0 to 2.6.9. Release notes Sourced from https://github.com/debug-js/debug/releases";>debug's releases. 2.6.9 Patc

[tomcat-training] branch dependabot/npm_and_yarn/json-schema-0.4.0 created (now 3fd0fb7)

2023-04-20 Thread github-bot
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/npm_and_yarn/json-schema-0.4.0 in repository https://gitbox.apache.org/repos/asf/tomcat-training.git at 3fd0fb7 Bump json-schema from 0.2.3 to 0.4.0 No new revisions were a

[tomcat-training] branch dependabot/npm_and_yarn/debug-2.6.9 created (now ba4212a)

2023-04-20 Thread github-bot
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/npm_and_yarn/debug-2.6.9 in repository https://gitbox.apache.org/repos/asf/tomcat-training.git at ba4212a Bump debug from 2.2.0 to 2.6.9 No new revisions were added by this

[tomcat-training] branch dependabot/npm_and_yarn/ms-2.0.0 created (now d188a4d)

2023-04-20 Thread github-bot
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/npm_and_yarn/ms-2.0.0 in repository https://gitbox.apache.org/repos/asf/tomcat-training.git at d188a4d Bump ms from 0.7.1 to 2.0.0 No new revisions were added by this updat

[GitHub] [tomcat-training] dependabot[bot] opened a new pull request, #17: Bump lodash from 3.7.0 to 4.17.21

2023-04-20 Thread via GitHub
dependabot[bot] opened a new pull request, #17: URL: https://github.com/apache/tomcat-training/pull/17 Bumps [lodash](https://github.com/lodash/lodash) from 3.7.0 to 4.17.21. Release notes Sourced from https://github.com/lodash/lodash/releases";>lodash's releases. 4.0.0 ht

[tomcat-training] branch dependabot/npm_and_yarn/lodash-4.17.21 created (now 5fd1ff3)

2023-04-20 Thread github-bot
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/npm_and_yarn/lodash-4.17.21 in repository https://gitbox.apache.org/repos/asf/tomcat-training.git at 5fd1ff3 Bump lodash from 3.7.0 to 4.17.21 No new revisions were added b

[Bug 66574] Deadlock in websocket code

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66574 --- Comment #1 from Boris Petrov --- I want to mention something that I'm noticing which might not be true but so far that's always been the case. Whenever this deadlock happens, there's only ONE such pair of threads with the stacktraces I post

sendfile and async?

2023-04-20 Thread Romain Manni-Bucau
Hi all, I just notice using nio connector+sendfile+asynccontext seems quite not functional, is it intended? My original intent was to add a kind of pre-hook to DefaultServlet which was async (nio http client) so wanted to use asynccontext then delegate to super.doGet (more or less) but I got this

[Bug 66574] Deadlock in websocket code

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66574 Christopher Schultz changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #2 from Chr

Re: sendfile and async?

2023-04-20 Thread Christopher Schultz
Rmoain, On 4/20/23 15:27, Romain Manni-Bucau wrote: I just notice using nio connector+sendfile+asynccontext seems quite not functional, is it intended? > My original intent was to add a kind of pre-hook to DefaultServlet which was async (nio http client) so wanted to use asynccontext then dele

[Bug 66575] Use of ByteBuffer.array() not guarded by hasArray()

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66575 --- Comment #4 from Christopher Schultz --- Can you submit a PR with a unit test using e.g. a read-only ByteBuffer and your proposed change? -- You are receiving this mail because: You are the assignee for the bug. ---

[tomcat] branch main updated: Improve optical readability.

2023-04-20 Thread rjung
This is an automated email from the ASF dual-hosted git repository. rjung 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 b4a28b0cd9 Improve optical readability. b4a28b0cd9 is

[tomcat] branch 10.1.x updated: Improve optical readability.

2023-04-20 Thread rjung
This is an automated email from the ASF dual-hosted git repository. rjung pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/10.1.x by this push: new da78336d01 Improve optical readability. da78336d0

[tomcat] branch 9.0.x updated: Improve optical readability.

2023-04-20 Thread rjung
This is an automated email from the ASF dual-hosted git repository. rjung 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 72e7cb6dba Improve optical readability. 72e7cb6dba

[Bug 66575] Use of ByteBuffer.array() not guarded by hasArray()

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66575 --- Comment #5 from Remy Maucherat --- (In reply to Christopher Schultz from comment #4) > Can you submit a PR with a unit test using e.g. a read-only ByteBuffer and > your proposed change? I think I'll do it. -- You are receiving this mail

Re: sendfile and async?

2023-04-20 Thread Romain Manni-Bucau
The use case was something like: * checkDocBaseUpToDate() // done async if the validity period is passed (means each 5mn check wil be async else sync is ok) * serve() // delegate No error but the GET has the right content-length but content is empty cause in async sendfile is not processed. Le j