Commit Graph

27869 Commits

Author SHA1 Message Date
Joakim Erdfelt fbc0e14abb
Turn off stacktrace logging for testFailServerUpgrade testcase 2023-03-29 14:54:26 -05:00
Simone Bordet 131bf775bd
Fixed flaky test `StreamResetTest.testClientResetConsumesQueuedData()`. (#9548)
The problem was that the retain/release idiom in HTTP2Session.onData()
was not respected.
Now after the call to HTTP2Stream.process(), the Data object is released.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-29 20:20:02 +02:00
Joakim Erdfelt 17b3ffe841
Issue #8740 - Move `org.eclipse.jetty.server.context.ManagedAttributes` to core `jetty-server` (#9549) 2023-03-29 13:01:52 -05:00
Joakim Erdfelt 9bb38ea469
Remove old build notes 2023-03-29 11:09:06 -05:00
Joakim Erdfelt 75dbc52f16
Separate weld versions by ee# (#9544) 2023-03-29 10:25:31 -05:00
Joakim Erdfelt 6ce5a0fbcd
Jetty 12 - Remove CGI servlet (#9516)
* Remove CGI servlet
* Remove CGI references
2023-03-29 09:29:57 -05:00
Joakim Erdfelt a5d863a0ad
Issue #9541 - Tagging new flaky test 2023-03-28 14:49:28 -05:00
Simone Bordet 6df856e053
Fixes retrieval of SSL Servlet request attributes. (#9533)
* Removed requestlog attributes that were never used.
* Code cleanups to remove usage of deprecated methods.
* Using MavenPaths.findTestResource* in ee9/ee10 tests to allow ee8 translation to function
* Fixed ClientCertAuthenticatorTest in both ee9 and ee10.
* Removed deprecated ClientCertAuthenticator in both ee9 and ee10.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-03-28 20:31:08 +02:00
Simone Bordet 0009ac4a91
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-28 20:23:53 +02:00
Simone Bordet 9253700f46
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-28 20:23:26 +02:00
Simone Bordet f532be828f
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-28 20:22:56 +02:00
Simone Bordet fe11b94da8
Fixed javadocs.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-28 20:22:39 +02:00
Simone Bordet 0243df8f00
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-28 20:09:30 +02:00
Lachlan dde6e04731
Issue #7121 - Add documentation for websocket configuration. (#8931)
* Improvements to WebSocket documentation.
* Documented configuration parameters.
* Documented and added a test case for PathSpec usage.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-28 19:42:44 +02:00
Simone Bordet 5facf1fa8a
Fixes #9539 - HttpClientTimeoutTest#testTimeoutOnFuture H3 logs exception. (#9541)
HTTP3Session.onClose() was calling failStreams(), which allocated
an IOException to fail the streams and eventually fail the response.
Since the failure was not a QuietException, it was logged at WARN level.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-27 11:31:16 +02:00
Olivier Lamy 10b712e655 Merge branch 'jetty-11.0.x' into jetty-12.0.x 2023-03-27 15:49:14 +10:00
Olivier Lamy cf924ed540 Merge branch 'jetty-10.0.x' into jetty-11.0.x 2023-03-27 15:47:47 +10:00
Olivier Lamy 925109f364
upgrade json-smart to 2.4.9 (#9542)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-03-27 15:46:22 +10:00
gregw 149782ea6c Suppress the correct stack 2023-03-26 10:03:18 +02:00
gregw edd86ef4a6 suppress correct stack
Signed-off-by: gregw <gregw@webtide.com>
2023-03-26 09:59:05 +02:00
Joakim Erdfelt 9d69760aa4
Restore jetty 12 AttributeNameTest 2023-03-24 13:45:56 -05:00
Joakim Erdfelt 83b59ae718
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-03-24 13:44:13 -05:00
Simone Bordet 856d3338f2
Fixes #9391 - port/move Jetty WebSocket APIs, client and server to je… (#9469)
* Moved -api, -common, -client to jetty-core/jetty-websocket.
* Implemented jetty-core/jetty-websocket/jetty-websocket-jetty-server using only Jetty core APIs, not Servlet.
* Fixed Graceful shutdown order.
* Fixed mistakes in HttpFieldsWrapper, wrongly calling HttpHeader.name() instead of asString().
* Updated tests to pass cleanly.
* Fixed BOMs and POM dependencies.
* Introduced websocket-jetty.mod and websocket-jetty-client.mod, now used by ee10's Jetty WebSocket.
* Fixed OSGi references to old artifactIds.
* Added test to show how to lookup and use ServerWebSocketContainer from a Handler.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-24 19:42:51 +01:00
Joakim Erdfelt 388d9df4c3
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-03-24 08:35:09 -05:00
Joakim Erdfelt a9bae8eaf8
Merge pull request #9313 from eclipse/fix/jetty-10.0.x/jetty-sh-start-properties
Issue #9309 - Better jetty.sh integration for start.jar with eye on supporting odd properties
2023-03-24 08:34:37 -05:00
Lachlan Roberts 8b81103a50 parameterize MultiPartServletTest for complianceModes and add extra test
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-03-24 14:27:47 +11:00
Joakim Erdfelt 20c9b02a8f
Fix broken javadoc
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-03-23 15:19:32 -05:00
Joakim Erdfelt 054d11e13c
toQuotedString() simplified
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-03-23 12:44:07 -05:00
Joakim Erdfelt 515b1a89de
Rename RUN_CMD to RUN_ARGS
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-03-23 12:15:03 -05:00
Lachlan 3732b38eb2
Merge pull request #9506 from eclipse/jetty-12.0.x-SymlinkAllowedResourceAliasChecker-fix
Uncomment line in Symlink alias checker and add test for it.
2023-03-22 17:03:09 +11:00
Joakim Erdfelt 2e936feec3
Correct usages of matrix.languages
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-03-21 07:55:58 -05:00
Joakim Erdfelt 6cbdb0cc18
Use latest node.jar to run stCarlos/setup-maven
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-03-21 07:46:16 -05:00
Joakim Erdfelt 4a761f4aee
Disable broken JDK19 test
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-03-21 07:40:02 -05:00
Joakim Erdfelt cc408b7fe5
Disable broken JDK19 test
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-03-21 07:04:29 -05:00
Joakim Erdfelt 9060adb8ca
Merge remote-tracking branch 'origin/jetty-10.0.x' into fix/jetty-10.0.x/jetty-sh-start-properties 2023-03-20 23:14:28 -05:00
Lachlan Roberts 551fe7f1c4 Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-SymlinkAllowedResourceAliasChecker-fix 2023-03-21 15:04:31 +11:00
Joakim Erdfelt 33c8d9974b
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-03-20 13:58:47 -05:00
Joakim Erdfelt 705d68ebf3
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-03-20 13:58:11 -05:00
Joakim Erdfelt 574ad3b4da
Merge pull request #9503 from eclipse/jetty-10.0.x-9497-effective-web-xml
Issue #9497 allow jetty:effective-web-xml for jar projects
2023-03-20 13:56:29 -05:00
Joakim Erdfelt d81941a91e
Disable broken JDK19 test
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-03-20 13:42:12 -05:00
Joakim Erdfelt 46cdb70449
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-03-20 12:05:57 -05:00
Joakim Erdfelt 41d1048006
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-03-20 12:01:35 -05:00
Joakim Erdfelt 17aa0c5ab9
Fixing #9517 - bad url-pattern prefix match behavior (#9518)
* Fixing #9517 - bad url-pattern prefix match behavior

Fixed regression where `/foo/*` was incorrectly matching `/foobar`.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: gregw <gregw@webtide.com>
Co-authored-by: gregw <gregw@webtide.com>
2023-03-20 17:53:40 +01:00
Simone Bordet 092a592278
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-20 10:22:23 +01:00
Simone Bordet 869f58543f
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-20 10:18:43 +01:00
Simone Bordet fe505766fd
Fixes #9501 - jetty client with proxy Connection: close (#9508)
Now Connection: close is ignored for 2xx responses to a CONNECT method.
In this way the tunnel is kept open, and bad proxies that were sending
Connection: close are now supported as apparently they are still out there.

Fixes also #6483.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-20 10:09:58 +01:00
Jan Bartel e45247f344 Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-03-16 19:04:12 +01:00
Jan Bartel 37d446528b Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-03-16 18:58:23 +01:00
Jan Bartel f2b0f217d3
Issue #9400 Handle scan of weird jar format (#9433) 2023-03-17 04:56:54 +11:00
Jan Bartel 38d3d7b8fc
Jetty 12.0.x improve multiversion annotations test (#9492)
* Improve testing of annotation parsing of multiversion jars
2023-03-16 18:54:04 +11:00