Lachlan
8c5d5e8a15
Merge pull request #12186 from jetty/jetty-12.1.x-servletUpgrade
...
implement servlet upgrade for ee10 and ee11
2024-09-05 08:23:16 +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
gregw
165327a1bf
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
...
# Conflicts:
# jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/internal/HttpConnection.java
# jetty-core/jetty-tests/jetty-test-client-transports/src/test/java/org/eclipse/jetty/test/client/transport/AbstractTest.java
2024-09-03 08:04:07 +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
8084cc575a
fix flaky test by not asserting a number of idle threads that is above the minimum
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-09-02 19:34:15 +02: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
ee5968e748
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-09-02 16:30:52 +10:00
Jan Bartel
caa09ad2cc
Issue #12207 reinstate DefaultHandler for jetty maven plugin ( #12211 )
2024-09-02 16:29:39 +10:00
Lachlan Roberts
f795fb10d0
PR # 12186 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-09-02 15:52:53 +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
e58eef20d7
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-09-02 11:51:07 +10:00
gregw
eecf4cf555
Tagged tests as Isolated that modify the static RESOURCE_FACTORIES
2024-09-02 11:50:17 +10:00
gregw
895944920b
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-09-02 08:23:58 +10:00
gregw
3d5a58a1f4
minor cleanups a potential flaky fix
2024-09-02 08:23:28 +10:00
gregw
b4232317c7
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-08-31 07:53:43 +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
4ee55c2a4d
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-30 12:12:52 +02: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
Olivier Lamy
9415471f09
increase build timeout
...
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-08-30 19:00:58 +10:00
gregw
494d71a7ac
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-08-30 17:28:04 +10:00
gregw
fb82a44bc6
flaky test tag
2024-08-30 17:27:03 +10:00
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