Lachlan Roberts
a8832c4fa9
fixes for BasicAuthenticatorTest
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-18 14:57:15 +10:00
Lachlan Roberts
9f6da9a11e
add some javadoc and cleanup to Request.get
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-18 12:42:03 +10:00
Lachlan Roberts
f9f42d5303
add testing for core FormAuthenticator dispatch
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-18 12:27:28 +10:00
Lachlan Roberts
6e5ea8196f
cleanups and changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-18 11:55:36 +10:00
Lachlan Roberts
a418e0db71
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-10295-formAuthDispatch
2023-08-18 11:43:31 +10:00
Joakim Erdfelt
235c5086aa
Improved `MetaInfConfigurationTest` cases ( #10282 )
...
+ Establish baseline tests for MetaInfConfiguration in preparation for PRs that adjust lookup / scan behaviors of MetaInfConfiguration
2023-08-17 20:25:41 -05:00
Jan Bartel
fe1831008a
Issue #10323 Fix ee10 Request.isRequestedSessionIdValid ( #10331 )
...
* Issue #10323 Fix ee10 Request.isRequestedSessionIdValid
2023-08-18 03:19:53 +02:00
Jan Bartel
5160ad29ef
Issue #10207 Update missing JSP message. ( #10320 )
...
* Issue #10207 Update missing JSP message.
2023-08-18 03:19:06 +02:00
Jan Bartel
33ef0b040a
Issue #10158 Change ignored deployment message to WARN ( #10321 )
2023-08-18 03:18:29 +02:00
Greg Wilkins
042841a7c6
Fix #10306 getServerHost ( #10311 )
...
Fix #10306 getServerHost
2023-08-18 10:11:39 +10:00
Joakim Erdfelt
7cd55498e2
Issue #10158 - tests to prove out XML only based deployment technique ( #10209 )
2023-08-17 16:48:59 -05:00
Simone Bordet
cab3128d53
Fixed POM dependency.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-17 17:15:52 +02:00
Simone Bordet
4c9679c5b3
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-17 17:14:59 +02:00
Simone Bordet
939f1362f6
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-17 17:02:13 +02:00
yokotaso
e33d026259
chore: Fix javadoc following the source code
2023-08-17 17:01:14 +02:00
Greg Wilkins
5aea1e44b7
Experiment/12/improve default servlet ( #10222 )
...
* Improve Jetty 12 DefaultServlet
+ don't wrap the httpServletRequest unless necessary due to wrapping
+ don't wrap the httpServletResponse unless necessary due to wrapping
+ send content asynchronously if large and unfiltered
+ Remove unused boolean return from ServletChannel.handle
+ added TODOs where range request handling could calculate content length
+ Call multipartlength, even though it is always -1
+ Use static for bytes written
2023-08-18 00:54:05 +10:00
Joakim Erdfelt
6702634494
Issue #10213 Ensuring proper usage of StartLog logging (to prevent accidental exceptions) ( #10214 )
2023-08-17 07:37:40 -05:00
Lachlan Roberts
8c645abf7f
make some protected methods private in FormAuthenticator
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-17 17:27:11 +10:00
Lachlan Roberts
1b6b8331fa
fix bug in SecurityHandler and remove EE10 FormAuthenticator
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-17 15:44:20 +10:00
Lachlan Roberts
9208629e95
make the dispatch feature work for core securityHandler
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-17 15:32:40 +10:00
gregw
db5209e97a
Implement ServeAs in core SecurityHandler
2023-08-17 11:18:08 +10:00
Joakim Erdfelt
fd1413db58
Issue #10274 - Improve javadoc + move internal methods ( #10276 )
...
* Improve javadoc + move internal methods
2023-08-16 16:09:36 -05:00
Simone Bordet
24792db09c
Fixes #10218 - NPE in HttpChannelOverFCGI.receive()
...
Simplified the code, removing all leftover cruft present since FCGI was multiplexed.
Now the FCGI implementation is very similar to HTTP1.
Made HttpConnectionOverFCGI.channel final so that it cannot NPE anymore.
The client now properly handling server-side connection closes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-16 15:27:59 +02:00
Simone Bordet
17c3649771
Fixes #10217 - Review ProxyConnectionFactory buffer management. ( #10225 )
...
Fixed buffer leak in ProxyConnection classes.
Introduced ArrayByteBufferPool.Tracking to test buffer leaks.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-16 15:26:57 +02:00
Simone Bordet
8f6a38aca8
Added documentation to migrate from Servlet to Handler.
...
Introduced CompletableTask to simplify Content.Source reads.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-16 15:02:57 +02:00
Joakim Erdfelt
5bca699464
Merge pull request #10318 from eclipse/fix/10.0.x/upgrade-guava-dep
...
Bump guava to 32.1.2-jre
2023-08-16 06:38:57 -05:00
Simone Bordet
b126407c4e
Fixed Maven coordinates, wrongly reported just as `jetty-servlet`, to `jetty-eeN-servlet`.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-16 13:13:41 +02:00
Joakim Erdfelt
00e01829cf
Bump guava to 32.1.2-jre
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-08-15 16:14:21 -05:00
Joakim Erdfelt
2ce29fc036
Merge pull request #10316 from eclipse/fix/10.0.x/websocket-deps
...
Cleaning up dependencies on WebSocket Server
2023-08-15 14:42:22 -05:00
Joakim Erdfelt
42443c19c2
Cleaning up dependencies on websocket to avoid pulling in annotations on websocket-server
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-08-15 11:34:16 -05:00
Lachlan Roberts
798f455e6f
fix checkstyle error
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-15 20:25:09 +10:00
Lachlan Roberts
715e1fe333
call listeners when doing an initial forward dispatch
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-15 20:19:54 +10:00
Lachlan Roberts
7b95ec4f7b
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-10295-formAuthDispatch
2023-08-15 20:05:07 +10:00
Greg Wilkins
cdf5035ab2
Various Cleanup in ServletChannel ( #10064 )
...
remove lambdas for clarity
TODO Non-blocking error dispatch
TODO isHandled does not exist
TODO checkAndPrepareUpgrade and implement servlet upgrade?
remove unused variables
review javadoc (including any warnings)
review any compiler or findbug warnings (if any)
---------
Signed-off-by: gregw <gregw@webtide.com>
2023-08-15 20:02:25 +10:00
Olivier Lamy
7f0b7d5e11
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2023-08-15 15:13:03 +10:00
Olivier Lamy
98d25a788a
Update Jenkinsfile-autobahn to not use not anymore available container ( #10001 )
2023-08-15 07:11:26 +02:00
Lachlan Roberts
87396105fb
Issue #10295 - use ServletChannel states for the security handler dispatch
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-15 11:18:25 +10:00
Lachlan Roberts
e9ab7498a9
Issue #10295 - create an EE10 FormAuthenticator
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-15 10:38:02 +10:00
Simone Bordet
c66f9809ba
Added documentation profile for Java 21.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-14 21:39:25 +02:00
Simone Bordet
8d50f55b32
Updated virtual threads documentation.
...
Now examples are in code, and added POM profiles to deal with virtual threads preview APIs.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-14 18:12:17 +02:00
Simone Bordet
5b782c18c9
Small fixes after review.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-14 17:58:33 +02:00
Simone Bordet
2e98d55a04
Updated Maven Artifact Changes table.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-12 15:50:49 +02:00
Jesse McConnell
812b8c4739
Update release-template.md
...
Add a link to jetty-website repo with instructions on deploying eclipse jetty website for new releases.
2023-08-11 11:38:10 -05:00
Jan Bartel
723a833db8
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2023-08-11 17:58:47 +10:00
Jan Bartel
48955d3e8f
Update question-template.md
2023-08-11 09:56:53 +02:00
Jan Bartel
883a11464d
Add Jetty Environment to issue-template.md
2023-08-11 09:54:20 +02:00
Greg Wilkins
16b00e2a13
Allow better configuration of WebAppContext classloader ( #10163 )
...
* Allow better configuration of WebAppContext classloader
Moved the creation of a WebAppContext classloader into an extensible method.
* Allow better configuration of WebAppContext classloader
EE8/9 also
* Allow better configuration of WebAppContext classloader
Only close loader if context created it.
2023-08-11 11:24:46 +10:00
Simone Bordet
eb35e42cb6
Fixed documentation that was still referring to `Handler.process()` which has now become `Handler.handle()`.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-10 16:47:37 +02:00
Olivier Lamy
44180fc6dd
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2023-08-10 12:16:14 +10:00
dependabot[bot]
ad0b5cfa15
Merge pull request #10286 from eclipse/dependabot/maven/jetty-10.0.x/ch.qos.logback-logback-core-1.3.11
2023-08-10 01:11:39 +00:00