Commit Graph

27538 Commits

Author SHA1 Message Date
Greg Wilkins 461c306fcf cleanup TODOs for decoration
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2023-02-07 07:46:03 +11:00
Simone Bordet 5cc07994c0
Issue #9300 - Rename RetainableByteBufferPool to ByteBufferPool
ArrayRetainableByteBufferPool -> ArrayByteBufferPool.
Updated field names.
Updates tests.
Updated *.mod files to not reference RetainableByteBufferPool.
Updated javadocs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-02-06 10:31:14 +01:00
Simone Bordet 44980ebfc3
Merge branch 'issue/9284' of https://github.com/kohlschuetter/jetty.project into kohlschuetter-issue/9284 2023-02-06 10:16:32 +01:00
Greg Wilkins d5866d3521 Removed TODOs that will not be done. 2023-02-06 17:05:01 +11:00
Joakim Erdfelt 0a4a077819
Merge pull request #9310 from eclipse/fix/jetty-10.0.x/requestlog-format-with-spaces
Issue #9309 - Introducing test for requestlog format with spaces
2023-02-05 20:27:12 -06:00
Lachlan 39c0c09fec
Merge pull request #9193 from eclipse/jetty-12.0.x-9067-DefaultServletInclude
Issue #9067 - Fixes to include dispatch for pathInContext and welcome files.
2023-02-06 12:23:07 +11:00
Greg Wilkins 60a08f5349
Rename Handler Nested & Collection (#9305)
There is now a Handler interface hierarchy:
 + Container is a Handler that has 1 or more contained Handlers.
 + Wrapper is a Container with only 1 handler and a setHandler method.
 + Collection is a Container with n handlers and a addHandler method

class are now:
 + Abstract implements Handler
 + AbstractContainer extends Abstract implements Container
 + BaseWrapper extends AbstractContainer implements Wrapper
 + Sequence extends AbstractContainer implements Collection

 Lots of other associated cleanups
2023-02-06 12:15:35 +11:00
Lachlan Roberts c7e7fd837c Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-multipartCleanups 2023-02-06 11:18:19 +11:00
Lachlan Roberts 1610cd3692 add todo to revert to normal pool after fix for #9311
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-02-06 11:10:21 +11:00
Olivier Lamy 377798ff50
fix surefire jpms configuration
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-02-05 17:10:36 +10:00
Olivier Lamy dedcfe1d22
fix merge
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-02-05 16:48:22 +10:00
Olivier Lamy 4812eb1c89
Merge branch 'jetty-11.0.x' into jetty-12.0.x-merg 2023-02-05 16:34:58 +10:00
Olivier Lamy a600506155
fix merge
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-02-05 16:08:11 +10:00
dependabot[bot] 44cd3ee541
Bump maven.surefire.plugin.version from 3.0.0-M5 to 3.0.0-M8 (#9255) 2023-02-05 15:58:03 +10:00
Christian Kohlschütter b8ab66fd1d Rename RetainableByteBufferPool to ByteBufferPool
With issue #9166, ByteBufferPool was removed and replaced by
RetainableByteBufferPool. Since ByteBufferPool was used by
AbstractConnector, this change broke backwards compatibility with
third-party connectors such as junixsocket-jetty.

Since there's no longer any other ByteBufferPool, rename the
RetainableByteBufferPool interface, and thereby not only reinstate
compatibility with existing third-party libraries but also save a few
keystrokes.

https://github.com/eclipse/jetty.project/issues/9284

Signed-off-by: Christian Kohlschütter <christian@kohlschutter.com>
2023-02-04 23:39:29 +01:00
Greg Wilkins 51ee6332bb Fixed merge 2023-02-05 09:26:08 +11:00
Greg Wilkins 7e35cdbe59 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-02-05 09:25:33 +11:00
Greg Wilkins 8bf7c9cef8
Fix #9285 use possibly wrapper response for redirection (#9286)
Use the servlet response sendRedirect method.
Always close the connection if there is content.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2023-02-05 09:18:24 +11:00
Simone Bordet 9916706b5f
Issue #9293 - Jetty 12 - Relax JPMS dependencies (quic) (#9307)
Relaxed jetty-quic JPMS dependencies.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-02-04 14:38:33 +01:00
Simone Bordet c18194b20f
Issue #9293 - Jetty 12 - Relax JPMS dependencies (fcgi) (#9306)
Relaxed jetty-fcgi JPMS dependencies.
Packages generator and parser were not internal,
was just matters of exporting them.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-02-04 14:38:08 +01:00
Joakim Erdfelt a13a932335
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-02-03 08:49:57 -06:00
Joakim Erdfelt 46a316d4df
Issue #9309 - Introducing test for requestlog format with spaces
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-02-03 08:45:35 -06:00
Joakim Erdfelt 016de2faeb
Jetty 10 - Configurable Unsafe Host Header (#9283)
* Adding HttpCompliance.DUPLICATE_HOST_HEADERS
  + Optional compliance that allowance duplicate host headers.
* Adding HttpCompliance.UNSAFE_HOST_HEADER
  + Optional compliance that allows unsafe host headers.
* Adding warning logging for bad Host / authority situations

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-02-03 08:30:07 -06:00
Joakim Erdfelt 4cac1d2ebd
Merge pull request #9271 from eclipse/dependabot/maven/jetty-11.0.x/org.infinispan-infinispan-bom-11.0.17.Final
Bump infinispan-bom from 11.0.16.Final to 11.0.17.Final
2023-02-03 08:26:22 -06:00
Lachlan Roberts cd47a07463 use non-pooling RetainableByteBufferPool to work around performance bug
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-02-04 00:49:59 +11:00
Simone Bordet 55a27fc68c
Issue #9293 - Jetty 12 - Relax JPMS dependencies. (#9296)
Relaxed jetty-http2 and submodules JPMS dependencies.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-02-03 10:19:41 +01:00
Simone Bordet ec41480aed
Issue #9293 - Jetty 12 - Relax JPMS dependencies. (#9299)
* Issue #9293 - Jetty 12 - Relax JPMS dependencies.

Relaxed jetty-http3 and submodules JPMS dependencies.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-02-03 10:16:29 +01:00
Olivier Lamy 109dd70d67
fix dependency
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-02-03 19:07:26 +10:00
Simone Bordet 36b41af560
Merge pull request #9294 from eclipse/fix/jetty-12-client-jpms
Issue #9293 - Jetty 12 - Relax JPMS dependencies.
2023-02-03 09:55:35 +01:00
Olivier Lamy 0a197e38cd
add used dependency
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-02-03 18:54:37 +10:00
Olivier Lamy 0d485fbe28
this dependency is used in test scope
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-02-03 18:45:29 +10:00
Lachlan 1144d3a18f
Merge pull request #9234 from eclipse/jetty-12.0.x-websocket-core-server-jpms
Issue #9233 - Fix some JPMS issues for websocket-core
2023-02-03 14:05:34 +11:00
Joakim Erdfelt 3f205e549c
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-02-02 20:08:18 -06:00
Joakim Erdfelt f0cba0807a
Merge pull request #9242 from eclipse/dependabot/maven/jetty-10.0.x/org.infinispan-infinispan-bom-11.0.17.Final
Bump infinispan-bom from 11.0.16.Final to 11.0.17.Final
2023-02-02 20:07:20 -06:00
Olivier Lamy b93a115ecd
Jetty 12 - Rename sessions tests with ee# version in package name (#9231)
* rename sessions tests with eeX version in package name as it, we can indentify which test is failing with junit result
* get rid of some duplicate classes

Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-02-03 10:49:44 +10:00
Joakim Erdfelt 1c7c020a93
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-02-02 15:04:26 -06:00
Simone Bordet cd5031b15f
Issue #9293 - Jetty 12 - Relax JPMS dependencies.
Relaxed jetty-client JPMS dependencies.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-02-02 19:30:40 +01:00
Jan Bartel c9391333ce Disable jpms with glassfish jstl test until fixed. 2023-02-02 23:00:06 +11:00
Greg Wilkins ebc6cca478
Jetty 12 - Added a core Session abstraction (#9223)
* Added a core Session abstraction

Sessions were already a core mechanism, but there was no API for them.
There is now a new Session interface that is available via the Request API.  It is intended only for users of sessions.
The previous concrete class Session has been renamed to ManagedSession and it is used by classes that extend AbstractSessionManager.

* Fixed tests

* Use static method

* Updates from review

* Updates from review

Improved javadoc
used util Attributes interface.
2023-02-02 21:40:17 +11:00
Ludovic Orban b1739aca53 Catch unchecked exceptions / errors thrown during produce to avoid letting the stack trace be logged by the execution strategy
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-02-02 10:42:20 +01:00
dependabot[bot] ca19b143a9
Bump maven.surefire.plugin.version from 3.0.0-M5 to 3.0.0-M8 (#9255) 2023-02-02 04:15:39 +00:00
Joakim Erdfelt 490f86e9a6
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-02-01 19:33:43 -06:00
Simone Bordet 106382d810
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-02-01 22:49:35 +01:00
Simone Bordet 1283b85b60
More JPMS tests for JSTL.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-02-01 22:48:48 +01:00
Ludovic Orban e68c827c2d
Fix connection pool's forcible stop (#9280)
* #9275 fix forcible closure of connections upon stopping the connection pool


Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-02-02 08:36:00 +11:00
dependabot[bot] 84dba1d885
Bump infinispan-bom from 11.0.16.Final to 11.0.17.Final
Bumps [infinispan-bom](https://github.com/infinispan/infinispan) from 11.0.16.Final to 11.0.17.Final.
- [Release notes](https://github.com/infinispan/infinispan/releases)
- [Changelog](https://github.com/infinispan/infinispan/blob/main/Jenkinsfile-release)
- [Commits](https://github.com/infinispan/infinispan/compare/11.0.16.Final...11.0.17.Final)

---
updated-dependencies:
- dependency-name: org.infinispan:infinispan-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 20:15:25 +00:00
Joakim Erdfelt c310f8a9e5
Merge pull request #9273 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-enforcer-plugin-3.2.1
Bump maven-enforcer-plugin from 3.1.0 to 3.2.1
2023-02-01 14:13:19 -06:00
Joakim Erdfelt 1b1e18bfa1
Merge pull request #9236 from eclipse/fix/jetty-12.0.x/ee10-remove-javax.activation
Jetty 12 - Removing unused / old deps from ee10
2023-02-01 13:10:12 -06:00
Joakim Erdfelt f47c146f4a
Bump apache-mina to 2.2.1
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-02-01 11:54:32 -06:00
dependabot[bot] de454bd3f7
Bump maven-enforcer-plugin from 3.1.0 to 3.2.1
Bumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.1.0 to 3.2.1.
- [Release notes](https://github.com/apache/maven-enforcer/releases)
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.1.0...enforcer-3.2.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 17:51:36 +00:00