Commit Graph

30283 Commits

Author SHA1 Message Date
gregw 5f21227a00 Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x 2024-08-30 17:23:02 +10:00
gregw ac5ad3780f flaky test tag 2024-08-30 17:22:16 +10:00
Olivier Lamy 87af4f43f4
Merge branch 'jetty-12.0.x' into jetty-12.1.x 2024-08-30 16:55:46 +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
gregw f588c53e41 Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x 2024-08-30 08:42:37 +10:00
Dmitry Kaukov 4755fa3f68
Customizable error page buffer size (#11654)
Customizable error page buffer size

---------

Co-authored-by: Greg Wilkins <gregw@webtide.com>
2024-08-30 08:33:10 +10:00
Ludovic Orban 85d7d07a24
Fix `DynamicCapacity.release()` (#12083)
#12082 Add assertions to DynamicCapacity to avoid entering an undetected corrupt state after it is released.

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-08-29 15:53:08 +02:00
Lachlan Roberts 9fbde9b71e
Merge remote-tracking branch 'origin/jetty-12.1.x' into jetty-12.1.x-servletUpgrade 2024-08-29 12:46:57 +10:00
Lachlan Roberts b106c935de
fix build issue by running mvn spotless:apply
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-08-29 12:46:03 +10:00
Lachlan Roberts 677de2fe17
Merge remote-tracking branch 'origin/jetty-12.1.x' into jetty-12.1.x-servletUpgrade 2024-08-29 12:35:05 +10:00
Lachlan Roberts c64e0bbbe6
PR #12186 - add javadoc for Connection.Upgrade
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-08-29 12:31:37 +10:00
Lachlan Roberts e13b9ad84c
PR #12186 - changes from review
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-08-29 12:17:17 +10:00
Lachlan Roberts b6f2c869e5
PR #12186 - Make HttpConnection internal and implement a public Upgrade interface
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-08-29 11:44:22 +10:00
Lachlan Roberts 96a0468436
Issue #11434 - remove printlns in AliasCheckerSymlinkTest
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-08-29 08:47:49 +10:00
Lachlan Roberts 178a795f93
Issue #11434 - resolve differences in AliasCheckerSymlinkTests
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-08-29 08:28:15 +10:00
Lachlan 95547c2ac4
Merge pull request #12197 from jetty/jetty-12.1.x-openid-jettyIntegrations
Move jetty-openid module to jetty-integrations
2024-08-29 08:12:57 +10:00
Ludovic Orban ed1cadc449
fix npe when onCompleteFailure happens after reset (#12199)
Fix npe when onCompleteFailure happens after reset

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-08-28 19:43:54 +02:00
gregw 1ea02673ac Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x 2024-08-28 20:29:02 +10:00
Greg Wilkins aa07995f37
sendError(-1) is an abort (#12206)
restore behaviour from jetty <= 11 where a sendError(-1) is a true abort, without an attempt to send an error response.
2024-08-28 20:24:10 +10:00
Olivier Lamy edbd21bdf0
Issue #11322 Upgrade to mongodb-driver-sync 5.x (#11681)
Upgrade to mongodb driver async 5.x

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-08-28 18:09:15 +10:00
gregw 1bf074894a Merge branch 'fork/Tony-the-Tech/fix/12.0.x/SslContextFactory_use_credential' into jetty-12.0.x
Updated with call to check if old behaviour has been extended.
2024-08-28 09:13:22 +10:00
gregw d2696dcdf3 remove disabled tags 2024-08-28 08:34:01 +10:00
Simone Bordet f7e0e523d9
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-27 10:05:20 +02:00
Simone Bordet 0420e926a1
Fixes #12171 - QoSHandler does not resume on a virtual thread. (#12174)
Now QoSHandler resumes requests using Request.getComponents().getExecutor().
This Executor is configured to be the virtual thread executor, if present, otherwise the Server Executor.

Removed warn() from VirtualThreads.isVirtualThread(), as it was too verbose.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-27 10:03:48 +02:00
Lachlan Roberts 594a65099c
Merge remote-tracking branch 'origin/jetty-12.1.x' into jetty-12.1.x-servletUpgrade 2024-08-27 17:57:45 +10:00
Lachlan Roberts e31360dd7f
rename jetty-test-util to jetty-test-common
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-08-27 14:39:47 +10:00
Joakim Erdfelt c97f5d7ac8
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x 2024-08-26 11:50:22 -04:00
Joakim Erdfelt 394bc136f3
Merge pull request #12198 from jetty/jetty-12.0.x-VirtualThreadPoolSemaphore
Fix potential NPE from VirtualThreadPool
2024-08-26 10:49:37 -05:00
Joakim Erdfelt 4fd306fcc2
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-VirtualThreadPoolSemaphore 2024-08-26 09:01:06 -05:00
Joakim Erdfelt 94ea3694a2
Trying to get more information about 400 response parse flaky test 2024-08-26 08:53:54 -05:00
Simone Bordet 1d4a77472a
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 11:53:30 +02:00
Simone Bordet 0f28d47597
Fixed assertion mismatch between int and long.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 11:52:55 +02:00
Simone Bordet 272895ce02
Issue #12023 - Remove deprecated classes/methods. (#12149)
Removed deprecated classes/methods from jetty-client.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 11:42:53 +02:00
Simone Bordet cffda533e3
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 11:41:16 +02:00
Simone Bordet 0a56509130
Fixes #11822 - HTTP/2 responses exceeding SETTINGS_MAX_HEADER_LIST_SIZE do not result in RST_STREAM or GOAWAY. (#12165)
Now HpackException.SessionException is treated specially in HTTP2Flusher.
It is caught, it fails all the entries, and then tries to send a GOAWAY, which will be the only frame allowed into the HTTP2FLusher at that point.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 11:33:17 +02:00
Simone Bordet 4c1c332245
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 11:31:40 +02:00
Simone Bordet b13f3ccc15 Documented Jetty versions and compatibilities, and code deprecation policy.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 12:31:10 +03:00
Simone Bordet 1e95e89ddc
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 11:28:34 +02:00
Simone Bordet 930d91568a
Fixes #9121 - Flaky BlockedWritesWithSmallThreadPoolTest.testServerThreadsBlockedInWrites(). (#12178)
The test uncovered a larger problem detailed in the issue: the Handler Callback should be non-blocking.

Since all implementations of HttpStream are non-blocking, overridden HttpStream.getInvocationType() to return NON_BLOCKING.

This guarantees that even in case of all server threads blocked, blocked/pending writes can be completed.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 11:12:38 +02:00
Simone Bordet 7aaca7d74d
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 11:11:11 +02:00
Simone Bordet 21f2f2acea
Fixes #3553 - Support sslSession() in Jetty Client. (#12179)
Implemented Connection.getSslSessionData(), where the Connection can be obtained from the Request:
request.getConnection().getSslSessionData().

Updated documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 11:10:04 +02:00
Lachlan Roberts 8464340f07
Fix potential NPE from VirtualThreadPool
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-08-26 12:36:53 +10:00
Lachlan Roberts 063e839962
reduce duplication for OpenIdProvider testing class
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-08-26 11:48:10 +10:00
Lachlan Roberts 9756387020
move jetty-openid from jetty-core to jetty-integrations
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-08-26 11:13:24 +10:00
Lachlan d8fad1fa16
Merge pull request #12188 from jetty/jetty-12.1.x-SignInWithEthereum
Issue #11560 - Implement EIP-4361 Sign-In With Ethereum
2024-08-26 11:07:42 +10:00
Lachlan c0d5adf6c6
Merge pull request #12181 from jetty/jetty-12.1.x-websocketMethodHolder
Issue #6328 - avoid binding WebSocket MethodHandles
2024-08-26 11:04:11 +10:00
gregw 5bbae27d1b disable broken tests to be fixed in #12171 2024-08-26 10:55:38 +10:00
Greg Wilkins 7d7eeb3b1e
Experiment with IteratingCallback (#12040)
The previous semantic of `onCompleteFailure` has been renamed to `onFailure(Throwable)`, which is called immediately (but serialized) on either an abort or a failure.   A new `onCompleteFailure(Throwable)` method has been added that is called only after a `failed(throwable)` or a `abort(Throwable)` followed by `succeeded()` or `failed(Throwable)``

No usage has yet been made of the new `onCompleteFailure`, but the ICB implementation has been completely replaced by the one developed in #11876

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
2024-08-26 10:18:57 +10:00
Tony Copping 66e4bd862f Issue #12175 Updates based on feedback
Signed-off-by: Tony Copping <tony@sigsoft.ca>
2024-08-24 10:05:01 -06:00
Simone Bordet b9bcb58a6d Issue #12023 - Remove deprecated classes/methods.
Removed deprecated methods from EndPoint.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-23 19:09:33 +03:00