Commit Graph

27038 Commits

Author SHA1 Message Date
Greg Wilkins 9f5cb0c691
Async not supported without wrappers (#9061) 2022-12-19 13:23:56 +11:00
Jan Bartel dc49639444 Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-12-19 10:11:49 +11:00
Jan Bartel 5c0974e758 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-12-19 09:27:20 +11:00
Jan Bartel aa40193d67
Jetty 10.0.x add plugin overlay test (#9045)
* Add overlay test for jetty-maven-plugin 

Signed-off-by: Jan Bartel <janb@webtide.com>
2022-12-19 09:17:09 +11:00
Greg Wilkins c55938c3fa Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-12-17 10:29:34 +11:00
Greg Wilkins 7e1c42c0e5 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-12-17 09:45:40 +11:00
Greg Wilkins d24a521930
Serialize onCompleteFailure for #9059 (#9062)
Serialize onCompleteFailure for #9059

* Fixed case where process() throws an exception.
   Before, exiting the processing loop would always skip to invoke onCompleteFailure(), causing the callback to not be completed.
   Now we fall through and possibly invoke onCompleteFailure() if it was not already invoked.

* Updated javadocs.

* Code cleanups.

Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-17 09:43:07 +11:00
Joakim Erdfelt 124cc43931
Small cleanup of codeql-analysis 2022-12-14 13:50:37 -06:00
Joakim Erdfelt eed3843d11
Bump java_version to 17 2022-12-14 13:48:52 -06:00
Joakim Erdfelt 3c4fdad9ce
Enable ExternalSiteTest 2022-12-14 13:43:25 -06:00
Joakim Erdfelt 1cecf13575
Enable ConscryptHTTP2ClientTest 2022-12-14 13:36:59 -06:00
Jan Bartel f139b66d63
Issue #9046 Fix tck session invalidate test (#9047) 2022-12-14 08:25:52 +11:00
Simone Bordet e16b7948b2 Fixes #9038 - Jetty 12 - Review EE10 Http[Input|Output].Interceptor APIs
Removed HttpInput.Interceptor and HttpOutput.Interceptor.
Simplified AsyncContentProducer.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-13 15:33:27 +01:00
Joakim Erdfelt de5e19b2d0
Merge pull request #9039 from eclipse/fix/jetty-12.0.x/mystery-jakarta-servlet-jsp-jstl-3.0.0-RC1
Jetty 12 - Fix `jakarta.servlet.jsp.jstl-api🫙3.0.0-RC1` warning
2022-12-12 16:58:05 -06:00
Olivier Lamy 139d3f2a41
response#getWriter should throw UnsupportedEncodingException in case of bad character encoding used (#9037)
* response#getWriter should throw UnsupportedEncodingException in case of bad character encoding used

Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-12-13 08:47:52 +10:00
Joakim Erdfelt 172f2121ea
Fix for [WARNING] The POM for jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api🫙3.0.0-RC1 is missing, no dependency information available 2022-12-12 06:05:32 -06:00
Jan Bartel a6e8c6aa32
Fix lag in pom versions. (#9027) 2022-12-12 14:55:30 +11:00
Joakim Erdfelt b1095d6605
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-12-10 11:44:17 -06:00
Joakim Erdfelt 1e3c15ee4a
Merge pull request #9033 from eclipse/release-12.0.0.alpha3
Merge Release 12.0.0.alpha3
2022-12-09 18:40:58 -06:00
Joakim Erdfelt 7c8f883610
Merge pull request #9032 from eclipse/release-11.0.13
Merge Release 11.0.13
2022-12-09 18:40:51 -06:00
Joakim Erdfelt 6e82e70edf
Merge pull request #9031 from eclipse/release-10.0.13
Merge Release 10.0.13
2022-12-09 18:40:43 -06:00
Ludovic Orban 150cad510f improve javadoc and testing + generously comment the surprising implementation
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-12-09 19:25:50 +01:00
Simone Bordet d3a0aa281b
Fixed flaky test MultiPartRequestContentTest.
The problem was that sometimes content bytes generated randomically ended with \r, confusing the multipart parser.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-09 15:58:57 +01:00
Jan Bartel 642d983e01
Issue #8984 Fix dump of Attributes (#9024) 2022-12-09 09:48:55 +11:00
Joakim Erdfelt 6c6955943f
Fix setup-maven version in codeql-analysis.yml 2022-12-08 10:03:16 -06:00
Simone Bordet bc0b4149ff
Clarified HttpReceiver.responseFailure().
Added javadocs to relevant methods in HttpChannel.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-07 23:50:39 +01:00
Joakim Erdfelt eb6671821b
Updating to version 12.0.0-SNAPSHOT 2022-12-07 16:37:38 -06:00
Joakim Erdfelt eac2683866
Updating to version 12.0.0.alpha3 2022-12-07 16:09:33 -06:00
Joakim Erdfelt 260245c012
Updating to version 11.0.14-SNAPSHOT 2022-12-07 15:04:55 -06:00
Joakim Erdfelt a04bd1ccf8
Updating to version 11.0.13 2022-12-07 14:46:29 -06:00
Joakim Erdfelt 54c4c03244
Updating to version 10.0.14-SNAPSHOT 2022-12-07 14:33:17 -06:00
Joakim Erdfelt 1c2636ea05
Updating to version 10.0.13 2022-12-07 14:12:50 -06:00
Simone Bordet 119996c16f
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-07 19:28:05 +01:00
Simone Bordet 0e99ae0c8a
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-07 19:16:18 +01:00
Joakim Erdfelt 355eebecc4 Update tycho-p2 from 2.7.5 to 3.0.1
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-12-07 19:15:39 +01:00
Joakim Erdfelt 754bbddf8a
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-12-07 09:54:18 -06:00
Simone Bordet 411a6e71a8
Fixes after merge.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-07 16:27:31 +01:00
Joakim Erdfelt 7e1de8b1e2
Issue #8973 - Rework KeyStoreScanner handling for symlink related changes (#9014)
* Issue #8973 - Rework KeyStoreScanner handling for symlink related changes

+ Removed changes from #8786 and #8787
+ More test cases
+ revert jetty.sslContext.reload.followLinks boolean
+ Scanner should follow its own linkOptions setting
+ remove bad documentation in module-ssl-reload.adoc

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Co-authored-by: Lachlan Roberts <lachlan@webtide.com>
2022-12-07 09:24:19 -06:00
Simone Bordet ee685b23fa
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-07 16:23:11 +01:00
Simone Bordet 6f398cecb2
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-07 16:21:09 +01:00
Simone Bordet 2538a91201
Fixes flaky FCGI test HttpClientTest.testPOSTWithContentTracksProgress().
The content must be consumed by the server, otherwise:
* the server Handler exits
* the implementation tries to consume the content on its way to complete
* the request content cannot be consumed, so the connection is closed
* the server closing the connection causes an EOFException on the client

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-07 16:20:22 +01:00
Joakim Erdfelt 6b8e23e0dc
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-12-07 08:17:53 -06:00
Joakim Erdfelt 3d3c95462a
Fixing OSGi bundle + tycho-p2 build failures (#9017)
* Fixing errors/warnings from maven-bundle-plugin
* avoid issues with eclipse ranges
* Fixing version of p2.core
* revert bach tycho eclipse plugin to last working version 2.7.5

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Olivier Lamy <olamy@apache.org>
2022-12-07 07:51:59 -06:00
Ludovic Orban b244c9f320 fix testFromEmptyByteBufferWithoutReleaser
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-12-06 22:52:12 +01:00
Joakim Erdfelt 2d9c735d63
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-12-06 14:38:53 -06:00
Joakim Erdfelt d6b88e2bc4
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-12-06 14:32:36 -06:00
Ludovic Orban 017b6c1391 fcgi and ContentTransformer bug fixes
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-12-06 20:04:30 +01:00
Ludovic Orban 42186bff18 #8993: Disallow creating new chunks with an empty ByteBuffer to make Chunk.isTerminal() contract stricter
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-12-06 19:48:17 +01:00
Joakim Erdfelt 45d0b68850
Jetty 12 - Fix `GzipHandler` handling of chunked and `Content-Length` (#8927)
* Jetty 12 - Enabling ContentLengthTest.testGzippedContentLengthAddedByServer
* Restoring HttpReceiver
* Fixing RequestTest
* Issue #8927 - Cleanup of GzipResponse with eye on RFC-1952 behaviors
* Issue #8927 - Set FINISHED state
* Fixing HEAD from HTTP/2 and HTTP/3
* Adding requested javadoc
2022-12-06 12:32:01 -06:00
Joakim Erdfelt 95fd8adeb8
Jetty 12 - Issue #8999 - Remove FileID.isArchive() from ResourceFactory (#9002)
* Issue #8999 - Remove FileID.isArchive() from ResourceFactory
* Remove FileID.isArchive() from URIUtil.toJarFileUri
2022-12-06 12:31:12 -06:00