Commit Graph

29867 Commits

Author SHA1 Message Date
Ludovic Orban 8f5207e6ca
Fix broken client tls negotiation (#11999)
#11965 make EMPTY_BUFFER not read-only anymore

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-07-10 16:52:51 +02:00
Olivier Lamy d8f2a8167a
Trigger website build after jetty-12.0.x branch merge (https://github.com/jetty/jetty.website/issues/57) (#12017)
* trigger website build after successful built

Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-07-10 01:50:23 +02:00
Greg Wilkins 46204a86ff
Jetty 12.0.x resource Servlet (#11933)
Introduce ResourceServlet
* Split DefaultServlet into ResourceServlet
* Added tests for Resource and Default Servlet
* Improved documentation of the ResourceServlet
* Fixed the documentation
2024-07-10 09:05:56 +10:00
Greg Wilkins 29d27f7373
Fix #265 list licenses (#11993)
List licenses in --list-classpath
Add SPDX to all our manifests
handle License and Licence
2024-07-10 09:04:23 +10:00
Greg Wilkins c880d9309b
Added a `UriCompliance.Violation.USER_INFO` to deprecate user info in `HttpURI` (#12012)
As per [RFC9110](https://datatracker.ietf.org/doc/html/rfc9110#name-deprecation-of-userinfo-in-) user info is deprecated in server implementations.
The new violation for USER_DATA is included by default in 12.0.x, but will be removed in 12.1.x
2024-07-10 09:02:55 +10:00
Joakim Erdfelt 803fe5c86b
Fixing section references to fix antora warning about duplicate IDs 2024-07-08 11:13:15 -05:00
Ludovic Orban 78e605ac40
Upgrade quiche to version 0.22.0 (#11995)
upgrade quiche to version 0.22.0

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-07-08 12:17:14 +02:00
Joakim Erdfelt f199dae6ab
Merge pull request #12013 from jetty/jetty-12.0.x-lachlanGpgKey
Add GPG key in KEYS.txt
2024-07-08 04:54:55 -05:00
Lachlan Roberts b3cdd34a95
Add GPG key in KEYS.txt
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-07-08 17:06:12 +10:00
Jan Bartel 7f77bc6c97
Issue #12000 Replace URI.create with ResourceFactory in jetty maven plugin. (#12003) 2024-07-05 02:56:26 +02:00
Olivier Lamy a2efa9bef9
with ci profile rerun failing test at least once (#11985) 2024-07-04 23:04:06 +10:00
Joakim Erdfelt 347da8ed7b
Merge remote-tracking branch 'origin/release/12.0.11' into jetty-12.0.x 2024-07-03 18:35:02 -05:00
Jan Bartel 05a0498627
Update deployment documentation for new features (#11997) 2024-07-03 05:57:43 +02:00
Jan Bartel c8b3373bbc
Issue #11957 Fix DefaultServletTest.testGetPrecompressedSuffixMapping (#11994) 2024-07-01 08:19:37 +02:00
Joakim Erdfelt f5abe07ade
Updating to version 12.0.12-SNAPSHOT 2024-06-27 19:09:24 -05:00
Joakim Erdfelt 9f90cedce3
Updating to version 12.0.11 2024-06-27 18:42:08 -05:00
Greg Wilkins 5e8cc2243e
Remove buffer from pool on write failure (#11951)
* Experiment with removable buffer from pool
* Changed remove return to be release boolean
* Fixes to avoid double release
* Tracking ByteBufferPool handles remove
* Adding assert on _channelState.isLockHeldByCurrentThread()

---------

Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2024-06-27 18:37:09 -05:00
Joakim Erdfelt f89e3b8aee
Merge pull request #11950 from jetty/experiment/jetty-12.0.x/11932-icb-subclasses
Make succeeded and failed in ICB final + introduce onSuccess
2024-06-27 12:00:27 -05:00
Joakim Erdfelt 32c1df6bd2
Merge pull request #11967 from jetty/fix/12.0.x/flakyCSLT
Fix flaky ContextScopeListenerTest
2024-06-27 11:50:43 -05:00
Jan Bartel 893911a833
Jetty 12.0.x 11774 backport env web xml (#11966)
* Jetty 12.0.x jetty ee web xml (PR #11746)
* Resolve jetty-eeX-web.xml before jetty-web.xml
* Support jetty-eeX-env.xml, as per jetty-eeX-web.xml
* Support jetty-eeX-env.xml, as per jetty-eeX-web.xml

---------

Co-authored-by: Greg Wilkins <gregw@webtide.com>
2024-06-27 11:50:03 -05:00
Joakim Erdfelt 2caf9c11c0 Cleanup XML environment specific deployment AppProviders 2024-06-27 11:48:37 -05:00
Joakim Erdfelt b2c4acdde4
Exclude jetty-schemas (no longer needed in Jetty 12) 2024-06-27 08:45:49 -05:00
Joakim Erdfelt c6b3095e44
Bump ee8 apache-jsp from 10.1.16 to 10.1.25 2024-06-27 06:29:52 -05:00
Joakim Erdfelt d7a2f08458
Bump ee8 apache-jsp from 9.0.83.1 to 9.0.90 2024-06-27 06:27:53 -05:00
Ludovic Orban c0af0e6d8d
#11932 revert final modifier
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-06-27 11:47:54 +02:00
Ludovic Orban 6188757500
#11932 fix bug in case of invalid action + add test
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-06-27 11:47:53 +02:00
Olivier Lamy bae2e8f9bc
force jetty-client in invoker it tests
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-06-27 11:46:44 +02:00
Olivier Lamy ddfc47c122
force jetty-client in invoker it tests
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-06-27 11:46:43 +02:00
Olivier Lamy 4aaada0910
force jetty-client in invoker it tests
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-06-27 11:46:42 +02:00
Ludovic Orban cea6b4ad98
#11932 improve javadoc
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-06-27 11:46:41 +02:00
Ludovic Orban d3c93bde27
#11932 simplify queue handling
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-06-27 11:46:40 +02:00
Ludovic Orban 25bbdb5efc
#11932 refactor H3 message flusher to have ICB succeeded and failed final
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-06-27 11:46:39 +02:00
Ludovic Orban 6d0bddc07a
#11932 make succeeded and failed in ICB final + introduce onSuccess
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-06-27 11:46:18 +02:00
Olivier Lamy 3091012393
Upgrade Infinispan 15.0.5 (#11961)
* Upgrade infinispan 15.0.5

Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-06-27 01:50:51 +02:00
gregw 7ee5cfc7e8 Fix flaky ContextScopeListenerTest 2024-06-27 09:47:28 +10:00
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
gregw 9a9ef89cb4 Fix flaky test 2024-06-25 12:01:17 +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 865b72688a
Merge pull request #11948 from jetty/fix/12.0.x/11941/distribution-test-logs
Issue #11941 - reduce logs for DistributionTests
2024-06-24 15:39:20 +10: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 b98c070b0d Issue #11941 - reduce logs for DistributionTests
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-24 13:08:38 +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