Commit Graph

30219 Commits

Author SHA1 Message Date
Robbie 8aa9c8b011
Use sessionRequest for wrapping HTTP stream instead of original Request. (#12303)
Add SessionHandlerTest case to ensure that flushOnResponseCommit is not broken
in the future.

Signed-off-by: Robert B. Langer <robertlanger03@gmail.com>
2024-09-26 13:36:10 +10:00
Simone Bordet af3ac05806
Fixes #7951 - OutputStreamContentProvider blocks forever during an HTTP2 upload after idle timeout is reached. (#12312)
Improved javadocs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-09-25 17:34:42 +02:00
Jan Bartel 04fd45d94e
Issue #12309 replaced transient keyword for SessionAuthentication.session (#12310) 2024-09-25 14:31:17 +10:00
gregw 018647d873 Added test for #11298 2024-09-25 10:42:16 +10:00
Greg Wilkins 18b9782550
Avoid list copy on reverse iteration (#12297)
This reverts/modified parts of commit 115ee1cf39.

Co-authored-by: Simone Bordet <simone.bordet@gmail.com>

---------

Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2024-09-25 07:43:01 +10:00
Niklas Keller 1d9f10871a
Issue #12047 allow disabling opening connectors before starting (#12049) 2024-09-24 14:40:16 +10:00
Ludovic Orban cbc3ac01f2 #11841 add reproducer using jetty client
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-09-23 13:27:26 +02:00
Simone Bordet 115ee1cf39
Fixes #12289 - Improve ConcurrentPool concurrency. (#12290)
A call to `sweep()`, although protected by the lock for concurrent calls to `reserve()`, may be concurrent with `remove(Entry)`.

`remove(Entry)` in turn calls `entries.remove(Object)`, so that the concurrent iteration in `sweep()` over `entries` fails with an `ArrayIndexOutOfBoundsException`.

Now using the bulk `entries.removeIf(Predicate)` method in `sweep()`, so that sweeping is atomic with respect to `entries.remove(Object)`.

Fixed other occurrences of manual iteration over CopyOnWriteArrayList that may be concurrent with removals.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-09-20 15:50:39 +02:00
Simone Bordet 9c342637cc Fixed #12284 - Excessive heap consumption by SSLSessionImpl by Jetty Server with TLS 1.3 and long-lived client.
Now `SslSessionData` is stored as a field, rather than in the `SSLSession` as an attribute.
This implies a little more cost to create the `SslSessionData` per connection rather than per `SSLSession`, but it should be negligible.

Now `SslSessionData` cannot be retrieved as a `SSLSession` attribute, but we have explicit APIs to retrieve it, so it should not be a problem.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-09-20 16:41:15 +03:00
Jan Bartel 6f83639d32
Issue #12279 ensure handlers added correctly for maven plugin (#12282)
* Issue #12279 ensure handlers added correctly for maven plugin
2024-09-19 09:38:08 +10:00
Jan Bartel 41333a7712
Issue #12255 Dump CookieConfig (#12257) 2024-09-18 06:57:30 -05:00
Greg Wilkins dc43f3d498
Optimize request buffer release #12239 (#12240)
Release request buffer before handling when there is no content

---------

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2024-09-18 07:11:32 +10:00
Olivier Lamy e52bd7a9c7
Jetty 12.0.x Simplify tests with OpenId by using an exising openid provider and avoid extra not necessary maven modules (#12274)
* use keycloak as openid provider for testing
* merge all test-distribution into a single one

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-09-17 15:08:49 +10:00
Simone Bordet 8c943c4bfb Issue #12256 - Configuring Virtual Thread executor in Jetty Http client makes my Spring Boot app freeze
* Defaulted the number of selectors to 1 in HttpClientTransportOverHTTP, to align with ClientConnector.
* Improved virtual thread documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-09-16 11:01:06 +03:00
Ludovic Orban 523bed3a6c
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2024-09-16 09:22:42 +02:00
Ludovic Orban c241a1480b #12268 reset _iterate flag when another processing is scheduled
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-09-16 09:12:28 +02:00
Ludovic Orban ceee65a7e5 #12268 do not rely on time
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-09-16 09:11:54 +02:00
Ludovic Orban 2018c439b6 #12268 reset _iterate flag when another processing is scheduled
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-09-16 09:11:54 +02:00
Jan Bartel 5105afafa4
Issue #12241 Restore SameSite config as session cookie comment. (#12263)
* Issue #12241 Restore SameSite config as session cookie comment in ee8/9.
2024-09-16 08:48:06 +10:00
Olivier Lamy daa4923779
Jetty 12.0.x Use cache stored in nexus to avoid having to maintain a separate nginx pod which consume cpu and memory (#12258)
* use nexus remote cache rather than home made container

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-09-12 07:08:44 +10:00
Joakim Erdfelt 044a3be744
Merge pull request #12245 from jetty/release/12.0.13
Merge back release 12.0.13
2024-09-11 09:45:12 -05:00
Simone Bordet 24f0ac28ad Fixes #11327 - Flaky test ServletTest.testSimpleIdleRead().
Just improving the test code.
The flakyness was likely fixed by the work in #12216 and #12237.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-09-10 12:03:02 +03:00
Simone Bordet fa0502db54
Fixes #12249 - HTTP/2 responses with Content-Length may have no content. (#12250)
Fixed HttpReceiverOverHTTP2.read() to return a failed chunk if the stream has been reset.
This closes the window where a RST_STREAM frame may be received, drain the DATA frames in HTTP2Stream, and the application reading exactly at that point.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-09-09 17:20:17 +02:00
Olivier Lamy dc8b6db94e
fix merge upgrade junit 5.11.0
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-09-09 09:50:16 +10:00
Olivier Lamy ea3b51e9e4
Merge branch 'jetty-10.0.x' into jetty-11.0.x 2024-09-09 07:15:00 +10:00
dependabot[bot] 1a55579b47
[10.0.x] Bump the dev-dependencies group across 1 directory with 41 updates (#12247)
* [10.0.x] Bump the dev-dependencies group across 1 directory with 41 updates

Bumps the dev-dependencies group with 41 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [org.junit:junit-bom](https://github.com/junit-team/junit5) | `5.10.3` | `5.11.0` |
| [com.google.errorprone:error_prone_annotations](https://github.com/google/error-prone) | `2.30.0` | `2.31.0` |
| [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) | `2.30.0` | `2.31.0` |
| [com.google.guava:guava](https://github.com/google/guava) | `33.2.1-jre` | `33.3.0-jre` |
| org.apache.ant:ant | `1.10.14` | `1.10.15` |
| org.apache.ant:ant-launcher | `1.10.14` | `1.10.15` |
| org.apache.avro:avro | `1.11.3` | `1.12.0` |
| org.apache.commons:commons-compress | `1.26.2` | `1.27.1` |
| org.apache.commons:commons-lang3 | `3.15.0` | `3.17.0` |
| org.apache.kerby:kerb-simplekdc | `2.0.3` | `2.1.0` |
| org.apache.logging.log4j:log4j-api | `2.23.1` | `2.24.0` |
| [org.apache.maven.plugin-tools:maven-plugin-tools-api](https://github.com/apache/maven-plugin-tools) | `3.13.1` | `3.15.0` |
| [org.apache.maven.plugin-tools:maven-plugin-annotations](https://github.com/apache/maven-plugin-tools) | `3.13.1` | `3.15.0` |
| [org.awaitility:awaitility](https://github.com/awaitility/awaitility) | `4.2.1` | `4.2.2` |
| [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) | `10.17.0` | `10.18.1` |
| [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) | `3.7.1` | `3.8.0` |
| [org.apache.maven.plugins:maven-deploy-plugin](https://github.com/apache/maven-deploy-plugin) | `3.1.2` | `3.1.3` |
| [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire) | `3.3.1` | `3.5.0` |
| [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) | `3.3.1` | `3.5.0` |
| org.apache.maven.surefire:surefire-junit47 | `3.3.1` | `3.5.0` |
| [org.apache.maven.plugins:maven-install-plugin](https://github.com/apache/maven-install-plugin) | `3.1.2` | `3.1.3` |
| [org.apache.maven.plugins:maven-invoker-plugin](https://github.com/apache/maven-invoker-plugin) | `3.7.0` | `3.8.0` |
| [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) | `3.8.0` | `3.10.0` |
| [org.apache.maven.plugins:maven-plugin-plugin](https://github.com/apache/maven-plugin-tools) | `3.13.1` | `3.15.0` |
| [org.codehaus.mojo:buildnumber-maven-plugin](https://github.com/mojohaus/buildnumber-maven-plugin) | `3.2.0` | `3.2.1` |
| [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin) | `3.3.0` | `3.4.1` |
| [org.apache.maven.plugins:maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) | `3.4.0` | `3.5.0` |
| [org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) | `3.2.4` | `3.2.5` |
| [com.github.spotbugs:spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) | `4.8.6.2` | `4.8.6.3` |
| [com.hazelcast:hazelcast](https://github.com/hazelcast/hazelcast) | `5.3.7` | `5.5.0` |
| org.apache.directory.api:api-asn1-api | `2.1.6` | `2.1.7` |
| org.apache.directory.api:api-ldap-model | `2.1.6` | `2.1.7` |
| [org.apache.directory.api:api-util](https://github.com/apache/directory-ldap-api) | `2.1.6` | `2.1.7` |
| org.apache.directory.api:api-ldap-schema-data | `2.1.6` | `2.1.7` |
| [org.apache.maven.resolver:maven-resolver-api](https://github.com/apache/maven-resolver) | `1.9.21` | `1.9.22` |
| [org.apache.maven.resolver:maven-resolver-connector-basic](https://github.com/apache/maven-resolver) | `1.9.21` | `1.9.22` |
| [org.apache.maven.resolver:maven-resolver-impl](https://github.com/apache/maven-resolver) | `1.9.21` | `1.9.22` |
| [org.apache.maven.resolver:maven-resolver-spi](https://github.com/apache/maven-resolver) | `1.9.21` | `1.9.22` |
| [org.apache.maven.resolver:maven-resolver-transport-file](https://github.com/apache/maven-resolver) | `1.9.21` | `1.9.22` |
| org.apache.maven.resolver:maven-resolver-transport-http | `1.9.21` | `1.9.22` |
| [org.apache.maven.resolver:maven-resolver-util](https://github.com/apache/maven-resolver) | `1.9.21` | `1.9.22` |



Updates `org.junit:junit-bom` from 5.10.3 to 5.11.0
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.3...r5.11.0)

Updates `com.google.errorprone:error_prone_annotations` from 2.30.0 to 2.31.0
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](https://github.com/google/error-prone/compare/v2.30.0...v2.31.0)

Updates `com.google.errorprone:error_prone_core` from 2.30.0 to 2.31.0
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](https://github.com/google/error-prone/compare/v2.30.0...v2.31.0)

Updates `com.google.guava:guava` from 33.2.1-jre to 33.3.0-jre
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

Updates `org.apache.ant:ant` from 1.10.14 to 1.10.15

Updates `org.apache.ant:ant-launcher` from 1.10.14 to 1.10.15

Updates `org.apache.ant:ant-launcher` from 1.10.14 to 1.10.15

Updates `org.apache.avro:avro` from 1.11.3 to 1.12.0

Updates `org.apache.commons:commons-compress` from 1.26.2 to 1.27.1

Updates `org.apache.commons:commons-lang3` from 3.15.0 to 3.17.0

Updates `org.apache.kerby:kerb-simplekdc` from 2.0.3 to 2.1.0

Updates `org.apache.logging.log4j:log4j-api` from 2.23.1 to 2.24.0

Updates `org.apache.maven.plugin-tools:maven-plugin-tools-api` from 3.13.1 to 3.15.0
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.13.1...maven-plugin-tools-3.15.0)

Updates `org.apache.maven.plugin-tools:maven-plugin-annotations` from 3.13.1 to 3.15.0
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.13.1...maven-plugin-tools-3.15.0)

Updates `org.awaitility:awaitility` from 4.2.1 to 4.2.2
- [Changelog](https://github.com/awaitility/awaitility/blob/master/changelog.txt)
- [Commits](https://github.com/awaitility/awaitility/compare/awaitility-4.2.1...awaitility-4.2.2)

Updates `org.apache.maven.plugin-tools:maven-plugin-annotations` from 3.13.1 to 3.15.0
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.13.1...maven-plugin-tools-3.15.0)

Updates `com.puppycrawl.tools:checkstyle` from 10.17.0 to 10.18.1
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.17.0...checkstyle-10.18.1)

Updates `com.google.errorprone:error_prone_core` from 2.30.0 to 2.31.0
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](https://github.com/google/error-prone/compare/v2.30.0...v2.31.0)

Updates `org.apache.maven.plugins:maven-dependency-plugin` from 3.7.1 to 3.8.0
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.7.1...maven-dependency-plugin-3.8.0)

Updates `org.apache.maven.plugins:maven-deploy-plugin` from 3.1.2 to 3.1.3
- [Release notes](https://github.com/apache/maven-deploy-plugin/releases)
- [Commits](https://github.com/apache/maven-deploy-plugin/compare/maven-deploy-plugin-3.1.2...maven-deploy-plugin-3.1.3)

Updates `org.apache.maven.plugins:maven-failsafe-plugin` from 3.3.1 to 3.5.0
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.3.1...surefire-3.5.0)

Updates `org.apache.maven.plugins:maven-surefire-plugin` from 3.3.1 to 3.5.0
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.3.1...surefire-3.5.0)

Updates `org.apache.maven.surefire:surefire-junit47` from 3.3.1 to 3.5.0

Updates `org.apache.maven.plugins:maven-install-plugin` from 3.1.2 to 3.1.3
- [Release notes](https://github.com/apache/maven-install-plugin/releases)
- [Commits](https://github.com/apache/maven-install-plugin/compare/maven-install-plugin-3.1.2...maven-install-plugin-3.1.3)

Updates `org.apache.maven.plugins:maven-invoker-plugin` from 3.7.0 to 3.8.0
- [Release notes](https://github.com/apache/maven-invoker-plugin/releases)
- [Commits](https://github.com/apache/maven-invoker-plugin/compare/maven-invoker-plugin-3.7.0...maven-invoker-plugin-3.8.0)

Updates `org.apache.maven.plugins:maven-javadoc-plugin` from 3.8.0 to 3.10.0
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.8.0...maven-javadoc-plugin-3.10.0)

Updates `org.apache.maven.plugins:maven-plugin-plugin` from 3.13.1 to 3.15.0
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.13.1...maven-plugin-tools-3.15.0)

Updates `org.apache.maven.plugins:maven-surefire-plugin` from 3.3.1 to 3.5.0
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.3.1...surefire-3.5.0)

Updates `org.codehaus.mojo:buildnumber-maven-plugin` from 3.2.0 to 3.2.1
- [Release notes](https://github.com/mojohaus/buildnumber-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/buildnumber-maven-plugin/compare/3.2.0...3.2.1)

Updates `org.codehaus.mojo:exec-maven-plugin` from 3.3.0 to 3.4.1
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/3.3.0...3.4.1)

Updates `org.apache.maven.plugins:maven-checkstyle-plugin` from 3.4.0 to 3.5.0
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.4.0...maven-checkstyle-plugin-3.5.0)

Updates `org.apache.maven.plugins:maven-gpg-plugin` from 3.2.4 to 3.2.5
- [Release notes](https://github.com/apache/maven-gpg-plugin/releases)
- [Commits](https://github.com/apache/maven-gpg-plugin/compare/maven-gpg-plugin-3.2.4...maven-gpg-plugin-3.2.5)

Updates `com.github.spotbugs:spotbugs-maven-plugin` from 4.8.6.2 to 4.8.6.3
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.8.6.2...spotbugs-maven-plugin-4.8.6.3)

Updates `com.hazelcast:hazelcast` from 5.3.7 to 5.5.0
- [Release notes](https://github.com/hazelcast/hazelcast/releases)
- [Commits](https://github.com/hazelcast/hazelcast/compare/v5.3.7...v5.5.0)

Updates `org.apache.directory.api:api-asn1-api` from 2.1.6 to 2.1.7

Updates `org.apache.directory.api:api-ldap-model` from 2.1.6 to 2.1.7

Updates `org.apache.directory.api:api-util` from 2.1.6 to 2.1.7
- [Release notes](https://github.com/apache/directory-ldap-api/releases)
- [Commits](https://github.com/apache/directory-ldap-api/compare/2.1.6...2.1.7)

Updates `org.apache.directory.api:api-ldap-schema-data` from 2.1.6 to 2.1.7

Updates `org.apache.directory.api:api-ldap-model` from 2.1.6 to 2.1.7

Updates `org.apache.directory.api:api-util` from 2.1.6 to 2.1.7
- [Release notes](https://github.com/apache/directory-ldap-api/releases)
- [Commits](https://github.com/apache/directory-ldap-api/compare/2.1.6...2.1.7)

Updates `org.apache.directory.api:api-ldap-schema-data` from 2.1.6 to 2.1.7

Updates `org.apache.maven.resolver:maven-resolver-api` from 1.9.21 to 1.9.22
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.21...maven-resolver-1.9.22)

Updates `org.apache.maven.resolver:maven-resolver-connector-basic` from 1.9.21 to 1.9.22
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.21...maven-resolver-1.9.22)

Updates `org.apache.maven.resolver:maven-resolver-impl` from 1.9.21 to 1.9.22
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.21...maven-resolver-1.9.22)

Updates `org.apache.maven.resolver:maven-resolver-spi` from 1.9.21 to 1.9.22
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.21...maven-resolver-1.9.22)

Updates `org.apache.maven.resolver:maven-resolver-transport-file` from 1.9.21 to 1.9.22
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.21...maven-resolver-1.9.22)

Updates `org.apache.maven.resolver:maven-resolver-transport-http` from 1.9.21 to 1.9.22

Updates `org.apache.maven.resolver:maven-resolver-util` from 1.9.21 to 1.9.22
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.21...maven-resolver-1.9.22)

Updates `org.apache.maven.surefire:surefire-junit47` from 3.3.1 to 3.5.0

Updates `org.apache.maven.resolver:maven-resolver-connector-basic` from 1.9.21 to 1.9.22
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.21...maven-resolver-1.9.22)

Updates `org.apache.maven.resolver:maven-resolver-impl` from 1.9.21 to 1.9.22
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.21...maven-resolver-1.9.22)

Updates `org.apache.maven.resolver:maven-resolver-spi` from 1.9.21 to 1.9.22
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.21...maven-resolver-1.9.22)

Updates `org.apache.maven.resolver:maven-resolver-transport-file` from 1.9.21 to 1.9.22
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.21...maven-resolver-1.9.22)

Updates `org.apache.maven.resolver:maven-resolver-transport-http` from 1.9.21 to 1.9.22

Updates `org.apache.maven.resolver:maven-resolver-util` from 1.9.21 to 1.9.22
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.21...maven-resolver-1.9.22)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: com.google.errorprone:error_prone_annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: com.google.errorprone:error_prone_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.ant:ant
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.ant:ant-launcher
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.ant:ant-launcher
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.avro:avro
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.commons:commons-compress
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.commons:commons-lang3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.kerby:kerb-simplekdc
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.logging.log4j:log4j-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugin-tools:maven-plugin-tools-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugin-tools:maven-plugin-annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.awaitility:awaitility
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugin-tools:maven-plugin-annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: com.google.errorprone:error_prone_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-deploy-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-failsafe-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.surefire:surefire-junit47
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-install-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-invoker-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-plugin-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.codehaus.mojo:buildnumber-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.codehaus.mojo:exec-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-checkstyle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-gpg-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: com.hazelcast:hazelcast
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.directory.api:api-asn1-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.directory.api:api-ldap-model
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.directory.api:api-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.directory.api:api-ldap-schema-data
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.directory.api:api-ldap-model
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.directory.api:api-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.directory.api:api-ldap-schema-data
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-connector-basic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-impl
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-transport-file
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-transport-http
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.surefire:surefire-junit47
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-connector-basic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-impl
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-transport-file
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-transport-http
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.resolver:maven-resolver-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* use test helper snapshot

Signed-off-by: Olivier Lamy <olamy@apache.org>

* new checkstyle is more restrictive

Signed-off-by: Olivier Lamy <olamy@apache.org>

* new checkstyle is more restrictive

Signed-off-by: Olivier Lamy <olamy@apache.org>

* bump slf4j

Signed-off-by: Olivier Lamy <olamy@apache.org>

* do not upgrade hazelcast for now

Signed-off-by: Olivier Lamy <olamy@apache.org>

* upperBound

Signed-off-by: Olivier Lamy <olamy@apache.org>

* Use jetty-test-helper release 6.3

Signed-off-by: Olivier Lamy <olamy@apache.org>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Olivier Lamy <olamy@apache.org>
2024-09-09 07:12:00 +10:00
Olivier Lamy d6b7d63ed9
Merge branch 'jetty-10.0.x' into jetty-11.0.x 2024-09-07 12:21:36 +10:00
Olivier Lamy d5130f1f44
remove useless option
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-09-07 08:59:50 +10:00
Olivier Lamy 4a56ab2243 fix upperbound
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-09-06 11:24:48 +00:00
dependabot[bot] 5b546f6868 [10.0.x] Bump the integration-deps group with 2 updates
Bumps the integration-deps group with 2 updates: [org.wildfly.security:wildfly-elytron](https://github.com/wildfly-security/wildfly-elytron) and [com.google.cloud:google-cloud-datastore](https://github.com/googleapis/java-datastore).


Updates `org.wildfly.security:wildfly-elytron` from 2.5.0.Final to 2.5.2.Final
- [Commits](https://github.com/wildfly-security/wildfly-elytron/compare/2.5.0.Final...2.5.2.Final)

Updates `com.google.cloud:google-cloud-datastore` from 2.20.2 to 2.21.2
- [Release notes](https://github.com/googleapis/java-datastore/releases)
- [Changelog](https://github.com/googleapis/java-datastore/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/java-datastore/compare/v2.20.2...v2.21.2)

---
updated-dependencies:
- dependency-name: org.wildfly.security:wildfly-elytron
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: integration-deps
- dependency-name: com.google.cloud:google-cloud-datastore
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: integration-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 11:24:48 +00:00
Simone Bordet 5bff971fb0
Fixed flaky test EventsHandlerTest.testEventsOfNoopHandler().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-09-06 11:58:45 +02:00
Simone Bordet 6887435773
Fixes #12227 - Improve HttpConnection buffer recycling. (#12237)
In this PR, the responsibility to release the buffers is in 2 methods: onFillable() (called when network data is available, and to process the next request) and parseAndFillForContent() (called from Request.read()).

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: gregw <gregw@webtide.com>
2024-09-06 14:11:29 +10:00
Olivier Lamy f0a1db100f
Jetty 12.0.x Add jdk23 build (fix javadoc breaking with 23) (#12238)
* add jdk23 build
* make jdk23 happy with javadoc
---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-09-06 10:57:42 +10:00
Simone Bordet c2519bbf48 Fixes #11581 - Flaky WebSocketOverHTTP2Test.testWebSocketOverDynamicHTTP2()
Marked the test as flaky, actual resolution needs resolving #12235.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-09-05 13:16:23 +03:00
Olivier Lamy cfc599c7ba
trigger a website build check after 10.0.x build (#12034)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-09-04 12:50:56 +10:00
Olivier Lamy 65e9bba44c
next snapshot
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-09-03 21:44:43 +10:00
Olivier Lamy 816018a420
Updating to version 12.0.13 2024-09-03 13:03:43 +10:00
Olivier Lamy e804e861ea
deployAtEnd and a bit more memory for Maven process
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-09-03 11:38:09 +10:00
Lachlan 899c005e34
Merge pull request #12208 from jetty/jetty-12.0.x-11434-AliasCheckerSymlinkTests
Issue #11434 - resolve differences in AliasCheckerSymlinkTests
2024-09-03 10:02:56 +10:00
Greg Wilkins 551710e9bb
Improve shutdown of non-persistent HTTP/1 connections #12212 (#12216)
* Improve shutdown of non-persistent HTTP/1 connections

 + shutdown in SendCallback

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>

---------

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2024-09-03 07:58:16 +10:00
Ludovic Orban 5439f17ff6
Rework leak tracking assertions to use a common awaitility pattern (#12226)
Rework leak tracking assertions to use a common awaitility pattern

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-09-02 19:34:05 +02:00
Jan Bartel caa09ad2cc
Issue #12207 reinstate DefaultHandler for jetty maven plugin (#12211) 2024-09-02 16:29:39 +10:00
Lachlan Roberts 4164ab782b
PR #12208 - changes from review
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-09-02 12:01:02 +10:00
gregw eecf4cf555 Tagged tests as Isolated that modify the static RESOURCE_FACTORIES 2024-09-02 11:50:17 +10:00
gregw 3d5a58a1f4 minor cleanups a potential flaky fix 2024-09-02 08:23:28 +10:00
Greg Wilkins ebc5e559f8
Removed reliance on exception to shutdown non persistent connections (#12213)
Moved the shutdownOutput in HttpStreamOverHttp1 to before the continuation of handling
2024-08-31 07:51:01 +10:00
Simone Bordet 1726c8778c
Fixes HttpClient Content.Source reads from arbitrary threads (#12203)
* Reworked HttpReceiverOverHTTP state machine, in particular:
** Introduced a boolean parameter to parseAndFill() and parse(), that specifies whether to notify the application demand callback.
   This is necessary because reads may happen from any threads, and must not notify the application demand callback.
   Only when there is no data, and fill interest is set, then the application demand callback must be notified.
** Removed action field to avoid lambda allocation.
** Now the application is called directly from the parse() method.
** Reading -1 from the network drives the parser by calling again parse(), rather than the parser directly.
  This allows to have a central place to notify the response success event.

* Fixed FastCGI similarly to HTTP/1.1.
* Removed leftover of the multiplex implementation.

* Fixed test flakyness in `NetworkTrafficListenerTest`: consume the request content before sending the response.

* Follow up after #10880: only abort the request if there is request content in `AuthenticationProtocolHandler` and `RedirectProtocolHandler`.
  This avoids the rare case where the response arrives before the request thread has modified the request state, even if the request has been fully sent over the network, causing the request to be failed even if it should not.

* added `SerializedInvoker` assertions about current thread invoking.
* Name all SerializedInvoker instances for better troubleshooting.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
2024-08-30 12:01:43 +02:00
gregw fb82a44bc6 flaky test tag 2024-08-30 17:27:03 +10:00
gregw ac5ad3780f flaky test tag 2024-08-30 17:22:16 +10:00
Olivier Lamy e1cd1f57c8
Move h2spec exec to a profile (#12209)
* move h2spec plugin exec to a profile

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-08-30 12:06:40 +10:00