Commit Graph

29328 Commits

Author SHA1 Message Date
Lachlan Roberts aaaf7aa67b fix alias checkers to allow use of CombinedResource
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-01-17 00:13:26 +11:00
Lachlan Roberts 02f583ef3d add testing for CombinedResource with AliasCheckers
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-01-16 22:27:25 +11: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
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
Joakim Erdfelt af14a65e4c
Results of: mvn spotless:apply (for sortModules) 2024-01-03 10:41:20 -06:00
Joakim Erdfelt 847e1f782d
Cleanup of top level pom comments 2024-01-03 10:40:53 -06:00
Joakim Erdfelt 2f3c9257d1
Results of: mvn spotless:apply 2024-01-03 10:40:38 -06:00
Joakim Erdfelt d414aedd95
Adding spotless-maven-plugin config to build-resources 2024-01-03 10:40:05 -06:00
Joakim Erdfelt d2e4b5d7d9
Adding spotless-maven-plugin config 2024-01-03 10:39:59 -06:00
Joakim Erdfelt 4853da2f07
Merge pull request #11217 from jetty/fix/10.0.x/add-spotless-plugin
Add spotless maven plugin configuration
2024-01-03 10:33:16 -06:00
Simone Bordet 231d8deb8a Fixes #10870 - How to set HttpConfiguration.securePort when the HTTPS port is dynamic?
Updated and expanded documentation.
Restored compilation of documentation Java sources.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-03 16:39:35 +01:00
Simone Bordet 80a04a554f
Fixes #11098 - Sporadic NPE in ArrayByteBufferPool.evict(). (#11204)
* Reorganized ArrayByteBufferPool.evict() code to avoid NPE.
* Fixed acquire logic to take into account that a reserved entry may fail to be enabled because it may be concurrently removed.
* Small change to ConcurrentPool: no need to null check the final ConcurrentEntry.holder field.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-03 15:56:36 +01:00
Simone Bordet 4fca6781ce Fixes #11213 - Improve programming guide WebSocket JPMS documentation
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-03 15:53:35 +01:00
Joakim Erdfelt 36a80b9622
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 08:06:54 -06:00
Joakim Erdfelt 97ca925620
Ensure test webapps are referenced 2024-01-03 06:39:03 -06:00
Joakim Erdfelt 85bc00725b
Excluding older javax.annotations 2024-01-03 04:59:28 -06:00
Joakim Erdfelt 35daa51ef5
Merge remote-tracking branch 'origin/jetty-10.0.x' into fix/10.0.x/add-spotless-plugin 2024-01-03 03:18:51 -06:00
Joakim Erdfelt 204b293d62
Results of: mvn spotless:apply (for sortModules) 2024-01-03 03:16:02 -06:00
Joakim Erdfelt e9373bf505
Cleanup of top level pom comments 2024-01-03 03:15:42 -06:00
Joakim Erdfelt 9a18dc8722
Results of: mvn spotless:apply 2024-01-03 03:12:56 -06:00
Joakim Erdfelt 11dd9486ed
Adding spotless-maven-plugin config to build-resources 2024-01-03 03:12:21 -06:00
Joakim Erdfelt 7bb8c2c6f9
Adding spotless-maven-plugin config 2024-01-03 03:08:01 -06:00
Joakim Erdfelt 0740b6d1b2
Merge pull request #11215 from jetty/fix/12.0.x/windows-build
Fix Build on Windows
2024-01-02 17:34:34 -06:00
Joakim Erdfelt 8770cc15ea Do not use ${user.home} for unixdomain.dir
(it causes an OOM for the huge file list it produces)
2024-01-02 15:10:49 -06:00
Joakim Erdfelt 6ae676c7d6 Allow build-cache globs to function on windows 2024-01-02 15:10:04 -06:00
Joakim Erdfelt 2b9bb8cf9c
Merge pull request #11212 from jetty/fix/12.0.x/remove-top-level-servlet-deps
Cleaning up top level dependencies
2024-01-02 13:23:26 -06:00
Simone Bordet 2a3e6f72c7
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-02 20:14:28 +01:00
Simone Bordet 8d3ea3b8b1
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-02 19:44:16 +01:00
Simone Bordet 9fdfa464d7
Fixes #11081 - Dropped WebSocket messages due to race condition in WebSocket frame handling. (#11090)
Now the reset of the MessageSink internal accumulators happens before the demand.

This avoids the race, since as soon as there is demand another thread could enter the MessageSink, but the accumulator has already been reset.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-02 19:37:35 +01:00
Joakim Erdfelt 3910b09ba6
Cleaning up top level dependencies.
* Removing dependencies that belong to ee#
  specific environments.
* Removing references to dependencies that
  do not exist anymore.
* Removing exclusions that are no longer
  relevant.
2024-01-02 11:42:57 -06:00
Joakim Erdfelt e36e12408c
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2024-01-02 10:39:25 -06:00
Joakim Erdfelt dcd073af5b
Merge pull request #11119 from jetty/dependabot/maven/jetty-11.0.x/org.mortbay.jetty-h2spec-maven-plugin-1.0.11
Bump org.mortbay.jetty:h2spec-maven-plugin from 1.0.10 to 1.0.11
2024-01-02 08:26:49 -06:00
Joakim Erdfelt c758ecdd2e
Merge pull request #11207 from jetty/dependabot/maven/jetty-10.0.x/biz.aQute.bnd-biz.aQute.bndlib-6.4.1
Bump biz.aQute.bnd:biz.aQute.bndlib from 6.3.1 to 6.4.1
2024-01-02 08:26:16 -06:00
Joakim Erdfelt 727affb9fb
Revert "Bump com.hazelcast:hazelcast from 5.2.1 to 5.3.6"
This reverts commit 85695867

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2024-01-01 17:05:36 -06:00