Simone Bordet
ce928e5ff1
Reorganized and refactored JettyHomeTester to introduce JPMSTester. ( #11228 )
...
* Renamed module "jetty-home-tester" to "jetty-testers".
* Moved JettyHomeTester to module jetty-testers.
* Introduced JPMSTester, refactoring common code with JettyHomeTester.
* Changed File-based APIs in favor of Path APIs.
* Introduced ProcessWrapper to simplify process forking.
* Refactored tests to follow refactoring changes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-24 18:56:27 +01:00
Joakim Erdfelt
3853628074
Issue #11253 - Cleanup ComplianceViolation behavior to allow Cookie / URI / MultiPart compliance to also receive listener events. ( #11254 )
...
+ Introduce new events on `ComplianceViolation.Listener`
+ Introduce new `ComplianceViolation.Listener.initialize()` to allow for a new Listener at the appropriate time (to support per-request listeners)
+ Introduce new `ComplianceViolation.CapturingListener`
+ Introduce new `HttpConfiguration.(add/remove/get)ComplianceViolationListener()` methods.
+ Deprecate/Remove handling of `recordComplianceViolations` in `HttpConnection` and `HttpConnectionFactory` classes.
+ Produce warnings if use of `ComplianceViolation.Listener` as beans is still present.
+ Add `ComplianceViolation.Listener` support to `UriCompliance` locations.
+ Add `ComplianceViolation.Listener` support to `MultiPartCompliance` locations.
+ Add `ComplianceViolation.Listener` support to `CookieCompliance` locations.
+ Add `ComplianceViolation.Listener` support to `HttpCompliance` locations in HTTP/2 and HTTP/3
---------
Co-authored-by: gregw <gregw@webtide.com>
2024-01-24 08:24:05 -06:00
Ludovic Orban
aa3873fb2f
Fix incorrect reliance on autoDemand when handlers are not configured ( #11304 )
...
#11303 fix incorrect reliance on autoDemand when handlers are not configured
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-01-24 09:11:25 +01:00
Jan Bartel
676d76c1ff
Issue #11280 update ee10 osgi embedded xml files ( #11284 )
...
* Issue #11280 update ee10 osgi embedded xml files and add test
2024-01-24 06:47:05 +01:00
Jan Bartel
8163219dda
Issue #11296 Fix javadoc on AbstractLoginModule ( #11297 )
...
* Issue #11296 Fix javadoc on AbstractLoginModule
2024-01-24 06:46:29 +01:00
Greg Wilkins
a2d86c7f67
Fix #11290 empty field ( #11291 )
...
Fixed cacheable empty field for #11290
2024-01-18 22:21:43 +00:00
Joakim Erdfelt
8cc7abe412
Adding testHostOnlyPort example from Issue #11287
2024-01-18 09:27:05 -06:00
Joakim Erdfelt
e790c4243a
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2024-01-16 11:11:49 -06:00
Joakim Erdfelt
82d4d5fcf1
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2024-01-16 11:10:57 -06:00
Joakim Erdfelt
8368deea7e
Issue #11263 - Reduce usage of glob lib/foo/*.jar in modules ( #11264 )
...
* Using @foo.version@ technique and proper
lib lists to allow arbitrary version
updates from properties
* Fix spotless
* Remove duplicate entries
* Only replace System property "jetty.version" with manifest-ver if blank/null
* Fixing bad module definitions
2024-01-16 10:46:58 -06:00
Joakim Erdfelt
d8c34c4ccd
Merge pull request #11276 from jetty/fix/10.0.x/start-sh-expr-fix
...
Issue #11273 - Add support for BSD based `expr` utility in `jetty.sh`
2024-01-16 10:46:23 -06:00
Joakim Erdfelt
65132561c6
Issue #11273 - Add support for BSD based `expr` utility in `jetty.sh`
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2024-01-15 13:36:30 -06:00
Simone Bordet
0839a208cd
Fixes #11259 - HTTP/2 connection not closed after idle timeout when TCP congested. ( #11267 )
...
Now upon the second idle timeout, the connection is forcibly closed.
Fixed also similar problem in HTTP/3.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-15 17:29:05 +01:00
Joakim Erdfelt
090287db5e
Merge branch 'jetty-12.0.x' of github.com:jetty/jetty.project into jetty-12.0.x
2024-01-15 06:39:45 -06:00
Joakim Erdfelt
7d4d4b653c
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2024-01-15 06:39:18 -06:00
Joakim Erdfelt
540280381d
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2024-01-15 06:37:38 -06:00
Simone Bordet
f84410b371
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-15 11:07:36 +01:00
Simone Bordet
b953871c9a
Backport of #11267 .
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-15 11:04:39 +01:00
dependabot[bot]
b86957c76e
Bump com.diffplug.spotless:spotless-maven-plugin from 2.39.0 to 2.41.1
...
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless ) from 2.39.0 to 2.41.1.
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md )
- [Commits](https://github.com/diffplug/spotless/compare/lib/2.39.0...maven/2.41.1 )
---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 03:15:51 +00:00
Joakim Erdfelt
2c7e07e516
Merge pull request #11262 from jetty/fix/12.0.x/javadoc-typos
...
Correct some javadoc typos
2024-01-12 08:12:58 -06:00
Simone Bordet
c8cd6f4048
Fixes #11230 Problem with parsing of form parameters without values. ( #11255 )
...
Fixed parsing of form parameters in FormFields.parse().
Added more tests for valid edge cases, and invalid cases.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-12 11:22:02 +01:00
Simone Bordet
a9e564ad8c
Fixes #10220 - Implement CrossOriginHandler. ( #11093 )
...
Introduced CrossOriginHandler.
Added cross-origin Jetty module.
Added CrossOriginHandler documentation to the programming guide.
Added CrossOriginHandler documentation to the operations guide.
Added cross-origin headers to the HttpHeader enum.
Added test cases.
Deprecated ee10 CrossOriginFilter.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-12 09:57:21 +01:00
Joakim Erdfelt
c8914c081a
Adding missing javadoc
2024-01-11 11:27:57 -06:00
Joakim Erdfelt
6326c2b962
Fix javadoc typos on client request content() to body()
2024-01-11 11:27:40 -06:00
Joakim Erdfelt
3a867c40f5
Fix javadoc typos
2024-01-11 11:26:20 -06:00
Joakim Erdfelt
dc96d91eef
Revert "Issue #11260 - Allow `QuickStartConfiguration` to be used in mixed contexts environment where some do not have a WEB-INF/quickstart-web.xml"
...
This reverts commit d6015606ea
.
2024-01-11 11:17:06 -06:00
Joakim Erdfelt
d6015606ea
Issue #11260 - Allow `QuickStartConfiguration` to be used in mixed contexts environment where some do not have a WEB-INF/quickstart-web.xml
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2024-01-11 11:16:30 -06:00
dependabot[bot]
49c5eb341a
Bump org.eclipse.jetty.toolchain:jetty-test-helper from 6.0 to 6.2 ( #11103 )
...
* Bump org.eclipse.jetty.toolchain:jetty-test-helper from 6.0 to 6.2
Bumps [org.eclipse.jetty.toolchain:jetty-test-helper](https://github.com/eclipse/jetty.toolchain ) from 6.0 to 6.2.
- [Commits](https://github.com/eclipse/jetty.toolchain/compare/jetty-test-helper-6.0...jetty-test-helper-6.2 )
---
updated-dependencies:
- dependency-name: org.eclipse.jetty.toolchain:jetty-test-helper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2024-01-10 08:40:24 -06:00
dependabot[bot]
9abb524ce9
Bump org.eclipse.jetty.toolchain:jetty-test-helper from 6.0 to 6.2 ( #11103 )
...
* Bump org.eclipse.jetty.toolchain:jetty-test-helper from 6.0 to 6.2
Bumps [org.eclipse.jetty.toolchain:jetty-test-helper](https://github.com/eclipse/jetty.toolchain ) from 6.0 to 6.2.
- [Commits](https://github.com/eclipse/jetty.toolchain/compare/jetty-test-helper-6.0...jetty-test-helper-6.2 )
---
updated-dependencies:
- dependency-name: org.eclipse.jetty.toolchain:jetty-test-helper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2024-01-10 08:38:49 -06:00
Joakim Erdfelt
4272a5d411
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2024-01-09 12:41:29 -06:00
Joakim Erdfelt
a4872492d8
Merge pull request #11234 from jetty/dependabot/maven/jetty-10.0.x/com.hazelcast-hazelcast-5.3.6
...
Bump com.hazelcast:hazelcast from 5.2.1 to 5.3.6
2024-01-09 11:46:31 -06:00
Joakim Erdfelt
724c29613c
Merge pull request #11247 from jetty/dependabot/maven/jetty-11.0.x/com.diffplug.spotless-spotless-maven-plugin-2.41.1
...
Bump com.diffplug.spotless:spotless-maven-plugin from 2.39.0 to 2.41.1
2024-01-09 11:45:43 -06:00
Joakim Erdfelt
fcf6eb5e77
Merge pull request #11240 from jetty/dependabot/maven/jetty-11.0.x/google.errorprone.version-2.24.1
...
Bump google.errorprone.version from 2.24.0 to 2.24.1
2024-01-08 13:08:52 -06:00
Joakim Erdfelt
c27fcc7c3e
Merge pull request #11239 from jetty/dependabot/maven/jetty-10.0.x/google.errorprone.version-2.24.1
...
Bump google.errorprone.version from 2.24.0 to 2.24.1
2024-01-08 13:08:49 -06:00
dependabot[bot]
a62069da3b
Bump com.diffplug.spotless:spotless-maven-plugin from 2.39.0 to 2.41.1
...
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless ) from 2.39.0 to 2.41.1.
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md )
- [Commits](https://github.com/diffplug/spotless/compare/lib/2.39.0...maven/2.41.1 )
---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 16:37:11 +00:00
dependabot[bot]
83bf4195f3
Bump google.errorprone.version from 2.24.0 to 2.24.1
...
Bumps `google.errorprone.version` from 2.24.0 to 2.24.1.
Updates `com.google.errorprone:error_prone_annotations` from 2.24.0 to 2.24.1
- [Release notes](https://github.com/google/error-prone/releases )
- [Commits](https://github.com/google/error-prone/compare/v2.24.0...v2.24.1 )
Updates `com.google.errorprone:error_prone_core` from 2.24.0 to 2.24.1
- [Release notes](https://github.com/google/error-prone/releases )
- [Commits](https://github.com/google/error-prone/compare/v2.24.0...v2.24.1 )
---
updated-dependencies:
- dependency-name: com.google.errorprone:error_prone_annotations
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: com.google.errorprone:error_prone_core
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 16:35:36 +00:00
dependabot[bot]
4de7518baf
Bump google.errorprone.version from 2.24.0 to 2.24.1
...
Bumps `google.errorprone.version` from 2.24.0 to 2.24.1.
Updates `com.google.errorprone:error_prone_annotations` from 2.24.0 to 2.24.1
- [Release notes](https://github.com/google/error-prone/releases )
- [Commits](https://github.com/google/error-prone/compare/v2.24.0...v2.24.1 )
Updates `com.google.errorprone:error_prone_core` from 2.24.0 to 2.24.1
- [Release notes](https://github.com/google/error-prone/releases )
- [Commits](https://github.com/google/error-prone/compare/v2.24.0...v2.24.1 )
---
updated-dependencies:
- dependency-name: com.google.errorprone:error_prone_annotations
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: com.google.errorprone:error_prone_core
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 16:35:13 +00:00
dependabot[bot]
63b5a1200e
Bump com.hazelcast:hazelcast from 5.2.1 to 5.3.6
...
Bumps [com.hazelcast:hazelcast](https://github.com/hazelcast/hazelcast ) from 5.2.1 to 5.3.6.
- [Release notes](https://github.com/hazelcast/hazelcast/releases )
- [Commits](https://github.com/hazelcast/hazelcast/compare/v5.2.1...v5.3.6 )
---
updated-dependencies:
- dependency-name: com.hazelcast:hazelcast
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 16:33:33 +00:00
Simone Bordet
581f9ae9f4
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-08 10:19:20 +01:00
Simone Bordet
5d7dc7182d
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-08 09:27:31 +01:00
Simone Bordet
9b2cfc4483
Fixes #11223 - WebSocketClient.connect with URI including query parameters don't work for HTTP2 connector
...
Fixed concatenation of path and query for HTTP/2 and HTTP/3 when creating `MetaData.ConnectRequest` to "tunnel" the WebSocket upgrade.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-08 09:26:22 +01:00
Simone Bordet
356f400d2e
Removed leftover System.err from tests.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-07 13:27:13 +01:00
Joakim Erdfelt
62e073c52c
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2024-01-03 14:08:11 -06:00
Joakim Erdfelt
885ab6f2e0
Restoring dependency to jetty-servlet
2024-01-03 12:11:25 -06:00
Joakim Erdfelt
a00d5768bd
Improving exclusions on google-cloud-datastore
2024-01-03 12:11:06 -06:00
Joakim Erdfelt
1f03b3e649
Remove duplicate `<dependency>` declarations
2024-01-03 11:14:47 -06:00
Joakim Erdfelt
71778c25f9
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2024-01-03 10:49:54 -06:00
Joakim Erdfelt
ee0e1d47fe
Prevent rogue slf4j-impl coming from wildfly-elytron-2.2.2.Final.jar
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2024-01-03 10:41:38 -06:00
Joakim Erdfelt
a84818d398
Ensure test webapps are referenced
2024-01-03 10:41:35 -06:00
Joakim Erdfelt
c557c2de70
Excluding older javax.annotations
2024-01-03 10:41:30 -06:00