Commit Graph

27111 Commits

Author SHA1 Message Date
Joakim Erdfelt ce52ffdd33
More meaningful .toString() implementations 2022-12-21 12:14:07 -06:00
Joakim Erdfelt e753f35965
Adding more LOG.debug() 2022-12-21 12:04:22 -06:00
Jan Bartel 1abaeb6cee
Jetty 12.0.x osgi (#9068) 2022-12-21 08:12:44 -06:00
Olivier Lamy 964e44527d fix package change with new groovy 4.x version
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-12-21 22:04:00 +10:00
Joakim Erdfelt 869f841a72
Increase DEBUG 2022-12-20 15:04:53 -06:00
Joakim Erdfelt 5265f8ce50
Enable DEBUG to see what's going on 2022-12-20 13:17:28 -06:00
Joakim Erdfelt c3847ce90f
Fix Warning on deprecated init param usage 2022-12-20 13:10:24 -06:00
Joakim Erdfelt e9ec1f423c
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-12-20 12:56:27 -06:00
Joakim Erdfelt 6f9c3367fc
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-12-20 12:54:17 -06:00
Joakim Erdfelt b01bcdc4bd
Improve `IncludeExcludeSet` testing (#9071)
* Improve IncludeExcludeSet testing

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-12-20 11:43:07 -06:00
Joakim Erdfelt c7e866562f
Enable all jetty-deploy tests (#9058)
* Enable all jetty-deploy tests
2022-12-20 11:40:49 -06:00
Greg Wilkins 12d66f083a Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-12-20 11:20:39 +11:00
Greg Wilkins f9ba12b07f Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-12-20 11:17:29 +11:00
Greg Wilkins 4916377686
PathMappings optimizations (#9055)
* Avoid iterations if only ServletPathSpec instances
* Avoid tests for empty mappings.
* Better reset implementation
* More test coverage
2022-12-20 11:08:40 +11:00
Jan Bartel 721a4c74fa
Jetty 12.0.x ee10 convert cookie (#9057)
* Convert HttpCookie -> Cookie based on compliance mode.
* Fix max-age
* Fix old cookie handling; getCookies return null instead of empty list
2022-12-20 10:22:38 +11:00
Olivier Lamy 99b1b1e240
jetty 10.0.x fix jdk19 build upgrading and re enable m-invoker-p which now supports jdk19 (#9023)
* use m-invoker-p 3.4.0

Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-12-20 08:37:57 +10:00
Greg Wilkins c18e790858
Jetty 12 handler as boolean processor (#9035)
Alternative Handler architecture.

All Handlers are Processors, which now return a boolean to indicate the request has been accepted.
The request/response/callback are no longer modal, so there is no race with the boolean return.

Optimized PathMappings.
Avoid iterations if only ServletPathSpec instances
Avoid tests for empty mappings.
Better reset implementation
Improve suffix matching
Improve exact matching

Renamed HttpStream.getNanoTimeStamp() to getNanoTime().

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-19 16:02:26 +01:00
Lachlan Roberts 06f9e5ec18 Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-httpcontentFactoryCleanup 2022-12-19 21:46:05 +11:00
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
Lachlan Roberts 0f1420fbd7 changes from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-12-16 17:17:12 +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
Lachlan Roberts a5817144f6 fix HttpContent.Factory config in ResourceHandlerTest
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-12-14 18:16:32 +11: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
Lachlan Roberts 60656ebb72 make stylesheet final in StaticHttpContentFactory
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-12-13 10:48:06 +11:00
Lachlan Roberts 9270e62f78 rename of StaticHttpContentFactory
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-12-13 10:44:35 +11: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
Lachlan Roberts abc40afd89 cleanups for HttpContent Factories
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-12-13 09:55:55 +11: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