Greg Wilkins
15bcc5ecb0
Cleanups extracted from delayed PR #11876 ( #11958 )
...
* Cleanups extracted from delayed PR #11876
* Update from review
2024-06-26 16:49:58 +10:00
Lachlan
f21bbcf40f
Merge pull request #11906 from jetty/jetty-12.0.x-coreMultiPart
...
Improve support for MultiPart in jetty-core
2024-06-26 12:57:35 +10:00
Joakim Erdfelt
f78f4422f5
Issue #11925 - Fix Etag NPE when using URLResource and improve Base Resource is alias warning ( #11930 )
...
* Issue #11925 - ee9 DefaultServlet and suffix url-patterns.
* Issue #11925 - Fix NPE in EtagUtils with URLResource
* Issue #11925 - Make error message "Base Resource should not be an alias" more useful.
* Set <reuseForks> to false for problematic tests.
2024-06-25 08:11:35 -05:00
Greg Wilkins
718c6fce51
Content.Source from methods ( #11949 )
...
Introduce Content.Source.from methods
These isolate code from specific implementations (which could even be made internal)
2024-06-25 12:32:29 +10:00
Joakim Erdfelt
930ebc4b31
Merge pull request #11945 from jetty/fix/12.0.x/multipart-part-delete-existence-check
...
Issue #11944 - Part.delete() should only attempt to delete if the file exists
2024-06-24 07:23:48 -05:00
Lachlan Roberts
af0902fdcf
Issue #11906 - change default of useFilesForPartsWithoutFileName to true
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-24 15:36:17 +10:00
Lachlan Roberts
c845b553fb
Issue #11906 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-24 15:32:13 +10:00
Greg Wilkins
4f4bec0624
ByteChannelContentSource ( #11910 )
...
Introduces a ByteChannelContentSource which is needed for the spring framework integration.
It also introduces a few minor utilities:
a ByteBufferPool.Sized class that is a ByteBufferPool.Wrapper with a configured size and type so a no args acquire() method can be called. This avoid the need to many classes to have a three fields: pool, size and direct and also can avoid constructors/methods with size and direct
an ExceptionUtil.run(Runnable, Consumer<Throwable> failure) that is a simple try catch and avoids many private methods being created to do just that.
2024-06-24 14:35:23 +10:00
Lachlan Roberts
c7249c7156
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-coreMultiPart
2024-06-24 12:44:22 +10:00
Lachlan Roberts
9de9a487e1
PR #11906 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-24 12:43:55 +10:00
Lachlan Roberts
4a33439a8f
PR #11906 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-24 11:48:11 +10:00
Joakim Erdfelt
82faaee276
Merge remote-tracking branch 'origin/jetty-12.0.x' into fix/12.0.x/multipart-part-delete-existence-check
2024-06-21 15:41:56 -05:00
Joakim Erdfelt
99faa7a9a6
Fixing FileIDTest
2024-06-21 15:26:00 -05:00
Joakim Erdfelt
9f077aaeb3
Issue #11944 - Part.delete() should only attempt to delete if the file exists.
2024-06-21 13:40:06 -05:00
Joakim Erdfelt
b15cfd125d
Update URLs for new jetty locations
2024-06-21 13:33:46 -05:00
Joakim Erdfelt
aac0353092
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2024-06-21 13:30:06 -05:00
Jan Bartel
8a0c4da385
Issue #11942 Update PoweredBy to reference new jetty.org site ( #11943 )
2024-06-21 04:33:15 +02:00
Jan Bartel
fd263c727d
Jetty 12.0.x object identity ee8 and ee9 ( #11888 )
...
* Fix for ee8/9 object identity
2024-06-20 07:53:53 +02:00
Lachlan Roberts
65fa7afc77
PR #11906 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-20 12:40:21 +10:00
Jan Bartel
6ee17f002c
Issue #11847 implement environment context xml ( #11859 )
...
* Issue #11847 implement environment context xml
2024-06-19 09:36:06 +02:00
Lachlan Roberts
0fe432bc49
PR #11906 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-19 12:07:39 +10:00
Greg Wilkins
95059356c9
Fix contains in HttpFields name set and prove random access to HttpFields via EnumMap not worth it. ( #11846 )
...
Fix #11811 with javadoc and benchmark
2024-06-19 09:32:49 +10:00
Ludovic Orban
9546b3ab49
Fix missing notifyRemoteAsyncErrors http config wiring ( #11897 )
...
Fixed missing notifyRemoteAsyncErrors http config wiring and add tests
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-06-18 20:00:04 +02:00
Lachlan
745cba4a6a
Merge pull request #11907 from jetty/jetty-12.0.x-openid
...
Fix openid.mod files for Jetty 12
2024-06-18 15:58:46 +10:00
Lachlan Roberts
6661eea1ee
PR #11906 - fix to MultiPartCaptureTest
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-17 13:49:58 +10:00
Lachlan Roberts
3dcf266cf8
PR #11906 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-17 13:37:50 +10:00
Greg Wilkins
d34556749f
Simplified Reactive Stream update for ContentSourcePublisher ( #11849 )
...
* Issue #11803 - Follow Reactive Streams specification
* Simplification of #11804 for Reactive Stream specification support
---------
Co-authored-by: Artem Golovko <artemgolovko98@gmail.com>
Co-authored-by: Olivier Lamy <olamy@apache.org>
2024-06-14 08:31:46 +10:00
Lachlan Roberts
34e27067f6
PR #11907 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-13 16:33:44 +10:00
Joakim Erdfelt
a616acac9e
Issue #11909 - duplicate --modules=<name> can trigger ConcurrentModificationException
...
+ Reworked tracking of enabled modules to not
trigger change in "sources" Set if the module
is already enabled.
2024-06-12 13:21:56 -05:00
Simone Bordet
8e6ab939f5
Fixes #11892 - mtls not working with http/3. ( #11900 )
...
The client certificate is now exposed in QuicheConnection, so that it can be returned by QuicStreamEndPoint.getSslSessionData().
Not much else is exposed by Quiche, so not much else that we can provide to applications, for example no TLS session id, no cipher suite, etc.
Fixed --enable-native-access command line option to run tests, as the foreign dependency is in the class-path.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-06-12 17:29:16 +02:00
Lachlan Roberts
6278ad8f77
PR #11907 - add newlines to end of openid .mod files
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-12 12:18:04 +10:00
Jan Bartel
9d0a457e59
Fix #11902 undeprecate addHiddenClasses(Attributes, String...) ( #11903 )
2024-06-12 03:20:14 +02:00
Lachlan Roberts
bc24f87303
Fix openid.mod files for Jetty 12
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-12 01:11:03 +10:00
Lachlan Roberts
362b582c50
fix failing tests
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-11 23:53:53 +10:00
Lachlan Roberts
9862e2e365
Improve support for MultiPart in jetty-core
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-11 23:25:30 +10:00
Lachlan Roberts
76cf685763
Improve support for MultiPart in jetty-core
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-11 19:01:55 +10:00
Gary Gregory
1f78946a5c
Add response to debug log event in HttpSender#failRequest() ( #11878 )
...
Signed-off-by: Gary Gregory <garydgregory@gmail.com>
2024-06-06 02:40:26 +02:00
Joakim Erdfelt
8b506b4f28
Merge remote-tracking branch 'origin/release/12.0.10' into jetty-12.0.x
2024-06-04 11:39:43 -05:00
Lachlan Roberts
21f8e58e04
Issue #11873 - fixes for getDefaultFavicon and getDefaultStyleSheet in Server
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-04 13:47:02 +10:00
Olivier Lamy
fb1697fd07
Updating to version 12.0.11-SNAPSHOT
2024-05-30 15:23:16 +10:00
Olivier Lamy
26106dfc84
Updating to version 12.0.10
2024-05-30 14:39:40 +10:00
Olivier Lamy
e1c7a7ca02
commented code
...
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-05-30 04:25:16 +02:00
Olivier Lamy
a4e186fb19
comment flaky part of the test
...
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-05-30 04:25:16 +02:00
Simone Bordet
a089fbf3ea
Fixes #9778 - Jetty 12 - Remove WriteFlusher.Listener. ( #11839 )
...
* Fixes #9778 - Jetty 12 - Remove WriteFlusher.Listener.
This listener is not necessary anymore, as the min data rate checks have been moved to a StatisticsHandler.MinimumDataRateHandler.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-05-29 10:13:25 +02:00
Lachlan
bc03176224
Issue #11745 - fix the environment var for the GAE Instance in id-manager.xml ( #11797 )
...
* Issue #11745 - fix the environment var for the GAE Instance in id-manager.xml
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-05-28 03:54:59 +02:00
Greg Wilkins
042582813f
Fix #9177 dump JVM info ( #11845 )
...
Fix #9177 dump info from Runtime, Jetty.VERSION and System.getProperties
2024-05-28 10:14:48 +10:00
Greg Wilkins
7e36f3c6e9
Fix #11507 getAttribute javadoc ( #11843 )
...
Fix #11507 getAttribute javadoc.
As some stage we should consider @Nullable or @NotNull annotations...
2024-05-28 08:06:06 +10:00
Simone Bordet
e782f91ef2
Fixes #1470 - Replace Timer use with Jetty Scheduler.
...
Removed usages of the Timer class.
Deprecated TimerScheduler.
Code cleanup in ee10 classes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-05-27 22:38:17 +02:00
Simone Bordet
65a016d1aa
Fixes #11778 - jetty-http-spi does not properly provide SPI for modules.
...
Fixed all module-info.java files that did not have a "provides" declaration but had META-INF/services files.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-05-27 11:05:48 +02:00
Simone Bordet
36cdc12ab7
Fixed JPMS declarations.
...
Some require transitive was missing, and has been added.
In other cases, making a field private (e.g. for log instances) made the warning go away.
In another case, removed explicit dependency on websocket core exception, as it was not necessary.
Clean up the POMs for jetty-eeN-annotations, that had unnecessary dependencies.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-05-23 22:06:01 +02:00