Commit Graph

28478 Commits

Author SHA1 Message Date
Greg Wilkins 003e46cae4
Various cleanups in HttpParser (#10329)
Various cleanups in HttpParser
Signed-off-by: gregw <gregw@webtide.com>

---------

Signed-off-by: gregw <gregw@webtide.com>
2023-08-18 17:09:17 +10:00
Olivier Lamy 667d2c5d75
Remove Autobahn Jenkinsfile as we do not have any more Autobahn build capability in jetty-12 better to focus on TCK (#10341)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-08-18 08:02:32 +02: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
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
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
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
dependabot[bot] 665b2879c9
Bump ch.qos.logback:logback-core from 1.3.9 to 1.3.11
Bumps [ch.qos.logback:logback-core](https://github.com/qos-ch/logback) from 1.3.9 to 1.3.11.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.3.9...v_1.3.11)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-09 22:42:17 +00:00
Joakim Erdfelt 1a9f428b3d
Merge pull request #10275 from zugazagoitia/zugazagoitia-patch-1
Fix wrong websocket artifact Jetty 12.x docs
2023-08-09 10:08:22 -05:00
Alberto Zugazagoitia ed59dff373
Update server-websocket-jetty.adoc 2023-08-09 14:01:57 +02:00
Joakim Erdfelt 5306b76fd8
Merge pull request #10269 from eclipse/dependabot/maven/jetty-11.0.x/org.jboss.logmanager-jboss-logmanager-3.0.1.Final
Bump org.jboss.logmanager:jboss-logmanager from 2.1.19.Final to 3.0.1.Final
2023-08-08 11:34:22 -05:00
Joakim Erdfelt 8804e5d3dd
Merge pull request #10248 from eclipse/dependabot/maven/jetty-11.0.x/ch.qos.logback-logback-core-1.4.9
Bump ch.qos.logback:logback-core from 1.4.8 to 1.4.9
2023-08-08 11:34:11 -05:00
dependabot[bot] dee420a319
Merge pull request #10238 from eclipse/dependabot/maven/jetty-10.0.x/org.jboss.logmanager-jboss-logmanager-3.0.1.Final 2023-08-08 12:21:13 +00:00
Simone Bordet 6bd067cb5a
Suppressed exceptions during testing.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-08 11:44:22 +02:00
dependabot[bot] b5ef4efc53
Bump ch.qos.logback:logback-core from 1.4.8 to 1.4.9
Bumps [ch.qos.logback:logback-core](https://github.com/qos-ch/logback) from 1.4.8 to 1.4.9.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.4.8...v_1.4.9)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 07:05:12 +00:00
Olivier Lamy 124f7b2331
Merge branch 'jetty-10.0.x' into jetty-11.0.x 2023-08-08 17:03:24 +10:00
dependabot[bot] f424328c86
Bump org.jboss.logmanager:jboss-logmanager
Bumps [org.jboss.logmanager:jboss-logmanager](https://github.com/jboss-logging/jboss-logmanager) from 2.1.19.Final to 3.0.1.Final.
- [Release notes](https://github.com/jboss-logging/jboss-logmanager/releases)
- [Commits](https://github.com/jboss-logging/jboss-logmanager/compare/2.1.19.Final...3.0.1.Final)

---
updated-dependencies:
- dependency-name: org.jboss.logmanager:jboss-logmanager
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 07:00:19 +00:00
dependabot[bot] 897b666017
Merge pull request #10251 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.scm-maven-scm-provider-jgit-2.0.1 2023-08-08 06:59:08 +00:00
Olivier Lamy 04f793048a
upgrade buildnumber version as well
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-08-08 15:11:51 +10:00