Lachlan Roberts
e17d3b1c2a
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-08-17 22:00:21 +10:00
Lachlan
bcf3cd19e5
Merge pull request #8468 from eclipse/jetty-10.0.x-well-known-aliaschecking
...
define the resourceBase in well-known ContextHandler to allow alias checking
2022-08-17 22:00:03 +10:00
Lachlan Roberts
3db45e11dd
define the resourceBase in well-known ContextHandler to allow alias checking
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-08-16 18:05:12 +10:00
Lachlan Roberts
1ab69d871a
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-08-15 10:23:35 +10:00
Lachlan
32e081566e
Merge pull request #8433 from eclipse/jetty-10.0.x-aliasCheckingPerf
...
improve performance of alias checking
2022-08-15 10:23:16 +10:00
Simone Bordet
1e778bd97b
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-08-10 14:56:43 +02:00
Simone Bordet
99a983ebf0
Fixed type from "int" to "boolean" in jetty-threadpool.xml.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-08-10 14:51:26 +02:00
Simone Bordet
be3d16bdbb
Fixes #8007 - Support Loom. ( #8360 )
...
Implemented support for virtual threads for HTTP/1.1, HTTP/2 and HTTP/3.
The virtual thread support is in AdaptiveExecutionStrategy.
When virtual threads are supported and enabled, reserved threads are disabled and
blocking tasks are run in a virtual thread instead that being executed by the Executor.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-08-10 14:31:04 +02:00
Lachlan Roberts
5b52570665
use CopyOnWriteArrayList for AliasCheck list
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-08-09 21:10:43 +10:00
Lachlan Roberts
4eff1a91c8
improve performance of alias checking
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-08-08 18:51:57 +10:00
Lachlan Roberts
40123bfbfc
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-08-08 13:38:30 +10:00
Lachlan
998bc8c7e8
Merge pull request #8315 from eclipse/jetty-10.0.x-8296-AliasChecking
...
Issue #8296 and #8259 - AllowedResourceAliasChecker improvements
2022-08-08 13:23:02 +10:00
Lachlan Roberts
99cb930d78
changes from review PR #8315
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-07-27 10:21:35 +10:00
Lachlan Roberts
cff4ff6c98
Issue #8296 - attempt to resolve symlinks for baseResource in ContextHandler.doStart()
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-07-21 18:59:51 +10:00
Joakim Erdfelt
d8c6de7d58
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-07-18 12:39:52 -05:00
Greg Wilkins
26a255e481
Fix #8294 push added cookie ( #8298 )
...
* Fix #8294 push added cookie
Reparse cookie added with addCookie
Added extra test to ensure maxAge is being parsed with other cookie attributes
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2022-07-18 12:39:40 -05:00
Lachlan Roberts
6c35fc6f65
Issue #8259 - AliasCheckers for different resource bases on same Context
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-07-18 17:22:38 +10:00
Lachlan Roberts
23df34e2d4
Issue #8296 - let AllowedResourceAliasChecker work before fully started
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-07-18 15:21:17 +10:00
Greg Wilkins
b57e7eafdd
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-07-07 23:11:11 +10:00
Greg Wilkins
c1c2bdbb45
Fix errors in Mapped pool and javadoc ( #8264 )
...
* Fix errors in javadoc
* Further RBBP improvements
2022-07-07 22:49:04 +10:00
Greg Wilkins
bb8b1663d0
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-07-04 10:57:40 +10:00
Greg Wilkins
2b817f06c6
Combined ByteBufferPool ( #8171 )
...
All `ByteBufferPool` can now be accessed as `RetainableByteBufferPools`.
Users now need to configure only a single buffer pool and there is just the additional retained parameter that needs consideration.
Default buffer pool has been changed to logarithmic, but we may wish to review that before next release.
Default factor size has been increased to 4096.
2022-07-04 10:38:30 +10:00
Joakim Erdfelt
eddff4d2ee
Merge Release 11.0.11 back into `jetty-11.0.x` ( #8193 )
...
* Updating to version 11.0.11
* Updating to version 11.0.12-SNAPSHOT
2022-06-22 16:24:57 -05:00
Joakim Erdfelt
64d12e2a5a
Merge Release 10.0.11 back into `jetty-10.0.x` branch ( #8194 )
...
* Updating to version 10.0.11
* Updating to version 10.0.12-SNAPSHOT
2022-06-22 16:24:48 -05:00
Joakim Erdfelt
8149350c10
Merge Release 11.0.10 back into `jetty-11.0.x` ( #8181 )
...
* Updating to version 11.0.11-SNAPSHOT
2022-06-21 14:45:00 +02:00
Joakim Erdfelt
c2bc103cb9
Merge Release 10.0.10 back into `jetty-10.0.x` ( #8180 )
...
* Updating to version 10.0.11-SNAPSHOT
2022-06-21 14:41:41 +02:00
Joakim Erdfelt
ad757df736
Removing invalid maxConnections references ( #8175 )
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-06-17 15:56:04 -05:00
Joakim Erdfelt
a47b0d6234
Remove maxConnections references
2022-06-16 14:32:39 -05:00
Joakim Erdfelt
309b6a9b66
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-06-15 14:42:05 -05:00
Joakim Erdfelt
d63569d025
Migrate code from jetty-util Logger to slf4j Logger ( #8162 )
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-06-15 20:01:48 +02:00
Simone Bordet
7ed02d04ba
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-06-13 14:14:28 +02:00
Lachlan
0699bc5326
Use static exceptions for closing websocket flushers and in ContentProducer ( #8155 )
...
* Use StaticException class in jetty-util for websocket flushers.
* Use StaticException class for ContentProducer recycle and consumeAll
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
2022-06-13 14:11:31 +02:00
Jan Bartel
be499f3694
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-06-09 08:17:21 +10:00
Jan Bartel
d725855194
Issue #8088 Add STOP.EXIT System property to configure ShutdownMonitor.exitVm ( #8133 )
...
* Issue #8088 Add STOP.EXIT System property to configure ShutdownMonitor.exitVm (#8089 )
* Issue #8088 Add STOP.EXIT System property to configure ShutdownMonitor.exitVM
* Ensure missing STOP.EXIT doesn't override default exitVm=true
* Disable another test
* Disable test that might not work, depending on test execution order.
2022-06-09 08:06:55 +10:00
Joakim Erdfelt
69216a5e3d
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-06-08 12:46:30 -05:00
Joakim Erdfelt
8de55150fe
Cherry-pick of Improvements to PathSpec for Jetty 10.0.x ( #8136 )
...
* Cherry-pick of Improvements to PathSpec.
* From commit: 5b4d1dd1c6
* Fixing ConstraintSecurityHandler usage of PathMappings
* Fixing bad INCLUDE logic from cherry-pick in ServletHandler.doScope()
* Cleanup of non ServletPathSpec behaviors in ServletPathMapping class
* Skip optional group name/info lookup if regex fails.
* Prevent NPE on static servletPathMappings
* Update WebSocketMappings to use new PathMappings.getMatched(String)
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-06-08 12:36:30 -05:00
Jan Bartel
56d914e435
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-06-08 10:33:54 +10:00
Jan Bartel
3caee26742
Jetty 10.0.x 7801 duplicate set session cookie ( #7808 )
...
* Issue #7801 Duplicate set session cookie after id change.
Signed-off-by: Jan Bartel <janb@webtide.com>
2022-06-08 10:15:24 +10:00
Lachlan Roberts
50af7bbda8
fix multipart merge from 10.0.x
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-03 10:55:02 +10:00
Joakim Erdfelt
3b563d2000
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-06-02 14:17:46 -05:00
Joakim Erdfelt
944ce6354f
Fixing #7975 - ForwardedRequestCustomizer should clear old MethodHandles when renaming headers. ( #8102 )
...
* Adding test case to prove report
* Fixing updateHandles() to clear the stored handles list.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-06-02 14:17:26 -05:00
Joakim Erdfelt
4364e15114
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-06-01 13:18:00 -05:00
Joakim Erdfelt
2850db13e2
Fixes #7818 - Regression: allow HttpChannel.Listener.onResponseBegin to modify response headers ( #7850 )
...
* allow HttpChannel.Listener.onResponseBegin to modify response headers
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-06-01 13:12:40 -05:00
Greg Wilkins
8d06ffad1b
fixed bad merge
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2022-06-01 17:46:16 +10:00
Greg Wilkins
8392b0bb12
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-06-01 11:58:07 +10:00
Greg Wilkins
7a1c165677
Implement #8057 103 Early Hint ( #8058 )
...
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2022-06-01 11:56:54 +10:00
Lachlan Roberts
d5eee8c8c2
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-05-30 12:02:35 +10:00
Lachlan
94e40a93cc
Merge pull request #7983 from eclipse/jetty-10.0.x-1771-secureRedirectHandler
...
Issue #1771 - add module for secure redirect
2022-05-30 11:58:52 +10:00
Joakim Erdfelt
acdb6ccfee
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-05-26 08:48:40 -05:00
Simone Bordet
d1e64f4693
Fixes #8014 - Review HttpRequest URI construction. ( #8015 )
...
Fixes #8014 - Review HttpRequest URI construction.
Now always adding a "/" before the path, if not already present.
Disabled flakey HTTP/3 test.
Parse CONNECT URIs as Authority
Co-authored-by: Greg Wilkins <gregw@webtide.com>
2022-05-26 18:13:17 +10:00