Commit Graph

27007 Commits

Author SHA1 Message Date
Simone Bordet 9f4bc5e5e2
Added test to external server via HttpClientTransportOverHTTP3.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-01 11:06:33 +01:00
Greg Wilkins f59eaa58c9
Fix #8980 addJars to WebAppClassLoader (#8982)
List of resources is a list of resources, not a combined resource.
2022-12-01 15:08:13 +11:00
dependabot[bot] 1589058065
Bump maven-dependency-plugin from 3.3.0 to 3.4.0
Bumps [maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.3.0...maven-dependency-plugin-3.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 00:08:00 +00:00
dependabot[bot] 5999b0e4bc
Bump httpcore from 4.4.15 to 4.4.16
Bumps httpcore from 4.4.15 to 4.4.16.

---
updated-dependencies:
- dependency-name: org.apache.httpcomponents:httpcore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 00:02:25 +00:00
Olivier Lamy 838728201f
force inject javax.inject
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-11-30 13:21:01 +10:00
Olivier Lamy b50e35a63c
force back to javax.inject as needed by new version of maven-resolver
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-11-30 12:08:12 +10:00
Joakim Erdfelt d0cf73f1c7
Downgrade maven.resolver.version to 1.8.2 2022-11-29 19:41:46 -06:00
Simone Bordet c3c08ccb8c
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-29 19:00:43 +01:00
Simone Bordet 26af094f08
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-29 18:46:41 +01:00
Simone Bordet 410e9db837
Issue #8895 - delete javadoc sources (#8977)
* Issue #8895 - delete javadoc sources

Delete java source files used to generate javadocs,
so that IDEs do not report duplicate sources.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-29 18:46:02 +01:00
Olivier Lamy b961ba77cc
Merge branch 'jetty-10.0.x' into jetty-11.0.x 2022-11-29 21:36:10 +10:00
dependabot[bot] 86117a14fb
Merge pull request #8944 from eclipse/dependabot/maven/jetty-10.0.x/maven.resolver.version-1.9.2 2022-11-29 11:34:58 +00:00
Olivier Lamy c1e570d40e
java inject looks to be needed now
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-11-29 19:03:01 +10:00
Ludovic Orban 63f1126abc offer EOF data when header frame has the last flag set to true before calling notifyHeaders()
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-11-29 09:31:49 +01:00
Ludovic Orban 12e48a7241 replace FSM with SerializedInvoker
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-11-29 09:31:49 +01:00
Olivier Lamy b78f8dcaa1
Merge branch 'jetty-10.0.x' into jetty-11.0.x 2022-11-29 17:58:16 +10:00
dependabot[bot] d9bb35f90b
Merge pull request #8947 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-plugin-plugin-3.7.0 2022-11-29 06:33:24 +00:00
Greg Wilkins eec5e69079
Converted writeTrailers to a static method (#8940)
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-29 15:08:36 +11:00
dependabot[bot] 42ce90436b
Bump maven-plugin-plugin from 3.6.4 to 3.7.0
Bumps [maven-plugin-plugin](https://github.com/apache/maven-plugin-tools) from 3.6.4 to 3.7.0.
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.6.4...maven-plugin-tools-3.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-29 00:43:55 +00:00
Olivier Lamy 884096d4c3
Merge branch 'jetty-10.0.x' into jetty-11.0.x 2022-11-29 10:33:31 +10:00
dependabot[bot] 2a0d4a398d
Merge pull request #8954 from eclipse/dependabot/maven/jetty-10.0.x/maven.plugin-tools.version-3.7.0 2022-11-29 00:32:07 +00:00
dependabot[bot] 3023aff389
Merge pull request #8956 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-install-plugin-3.1.0 2022-11-29 00:31:06 +00:00
dependabot[bot] 3a46c98639
Merge pull request #8962 from eclipse/dependabot/maven/jetty-10.0.x/jmh.version-1.36 2022-11-29 00:30:46 +00:00
dependabot[bot] ae930217e7
Merge pull request #8952 from eclipse/dependabot/maven/jetty-10.0.x/com.github.jnr-jnr-constants-0.10.4 2022-11-29 00:30:22 +00:00
dependabot[bot] 3cd4940fa2
Bump jmh.version from 1.35 to 1.36
Bumps `jmh.version` from 1.35 to 1.36.

Updates `jmh-core` from 1.35 to 1.36
- [Release notes](https://github.com/openjdk/jmh/releases)
- [Commits](https://github.com/openjdk/jmh/compare/1.35...1.36)

Updates `jmh-generator-annprocess` from 1.35 to 1.36
- [Release notes](https://github.com/openjdk/jmh/releases)
- [Commits](https://github.com/openjdk/jmh/compare/1.35...1.36)

---
updated-dependencies:
- dependency-name: org.openjdk.jmh:jmh-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.openjdk.jmh:jmh-generator-annprocess
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 18:23:38 +00:00
dependabot[bot] 0276495ae9
Bump maven-install-plugin from 3.0.1 to 3.1.0
Bumps [maven-install-plugin](https://github.com/apache/maven-install-plugin) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/apache/maven-install-plugin/releases)
- [Commits](https://github.com/apache/maven-install-plugin/compare/maven-install-plugin-3.0.1...maven-install-plugin-3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 18:21:00 +00:00
dependabot[bot] 121283ffa4
Bump maven.plugin-tools.version from 3.6.4 to 3.7.0
Bumps `maven.plugin-tools.version` from 3.6.4 to 3.7.0.

Updates `maven-plugin-annotations` from 3.6.4 to 3.7.0
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.6.4...maven-plugin-tools-3.7.0)

Updates `maven-plugin-tools-api` from 3.6.4 to 3.7.0
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.6.4...maven-plugin-tools-3.7.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugin-tools:maven-plugin-annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.plugin-tools:maven-plugin-tools-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 18:20:36 +00:00
dependabot[bot] f2dda056f3
Bump jnr-constants from 0.10.3 to 0.10.4
Bumps [jnr-constants](https://github.com/jnr/jnr-constants) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/jnr/jnr-constants/releases)
- [Commits](https://github.com/jnr/jnr-constants/compare/jnr-constants-0.10.3...jnr-constants-0.10.4)

---
updated-dependencies:
- dependency-name: com.github.jnr:jnr-constants
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 18:20:22 +00:00
dependabot[bot] 6774e4c474
Bump maven.resolver.version from 1.8.2 to 1.9.2
Bumps `maven.resolver.version` from 1.8.2 to 1.9.2.

Updates `maven-resolver-api` from 1.8.2 to 1.9.2
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.8.2...maven-resolver-1.9.2)

Updates `maven-resolver-util` from 1.8.2 to 1.9.2
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.8.2...maven-resolver-1.9.2)

Updates `maven-resolver-spi` from 1.8.2 to 1.9.2
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.8.2...maven-resolver-1.9.2)

Updates `maven-resolver-impl` from 1.8.2 to 1.9.2
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.8.2...maven-resolver-1.9.2)

Updates `maven-resolver-connector-basic` from 1.8.2 to 1.9.2
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.8.2...maven-resolver-1.9.2)

Updates `maven-resolver-transport-file` from 1.8.2 to 1.9.2
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.8.2...maven-resolver-1.9.2)

Updates `maven-resolver-transport-http` from 1.8.2 to 1.9.2
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.8.2...maven-resolver-1.9.2)

---
updated-dependencies:
- dependency-name: org.apache.maven.resolver:maven-resolver-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.resolver:maven-resolver-util
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.resolver:maven-resolver-spi
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.resolver:maven-resolver-impl
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.resolver:maven-resolver-connector-basic
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.resolver:maven-resolver-transport-file
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.resolver:maven-resolver-transport-http
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 18:18:42 +00:00
Joakim Erdfelt 7ddfbcc8d8
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-11-28 12:12:29 -06:00
Joakim Erdfelt 0493f9d660
Reverting logback downgrade 2022-11-28 12:11:58 -06:00
Joakim Erdfelt c561284518
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-11-28 12:10:59 -06:00
Joakim Erdfelt 1a2d39e8c1
Merge pull request #8943 from eclipse/fix/jetty-10.0.x/downgrade-logback-1.3.x
Issue #8942 - Downgrading logback to 1.3.0
2022-11-28 12:10:38 -06:00
Joakim Erdfelt 55d9238961
Issue #8942 - Downgrading logback to 1.3.0
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-28 10:39:20 -06:00
Jan Bartel 514ce5f07a Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-11-26 08:57:47 +11:00
Simone Bordet 2ad0a2cd02
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-25 17:21:46 +01:00
Simone Bordet d1e0a7f612 Do not hard fail the documentation if Java < 19.
Require Java 19 to build the release.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-25 17:21:01 +01:00
Greg Wilkins 011a7267de
Cleanup ContextHandler (#8928)
* Cleanup ContextHandler

Extracted some of the goodness from #8793:
 + Clear enter/exit scope methods rather than opaque suppliers and Runnables
 + Removed overloading of "Context" class name to avoid accidental usage of wrong type.
 + Less holding onto request/response as fields

* Cleanup ContextHandler

fixed test with no server

* Updates from review.
2022-11-25 14:27:39 +11:00
Greg Wilkins 09594361a1
Jetty-12 Rewrite RuleProcessor (#8934)
* Rewrite RuleProcessor

This decouples the rewrite module from the `WrapperProcessor` class, which is being considered for significant refactoring or removal.
Having a module specific version of that class allows better code readability and a more appropriate API that avoids duplication request instances.

* Fixed javadoc

* Updates from review.

* Updates from review.
2022-11-25 14:27:21 +11:00
Lachlan a0a8acd8b9
Merge pull request #8935 from eclipse/jetty-12.0.x-byteranges
Re-enable DefaultServletRangesTest and fix byte ranges for ee10
2022-11-25 10:27:33 +11:00
Greg Wilkins ca3055423a
Mutable server MimeTypes (#8933)
Make the MimeTypes available from the server mutable.
Context MimeTypes are now wrappers over the server MimeTypes, so configuration at the server level is inherited by all contexts.
2022-11-24 16:57:29 +11:00
Lachlan Roberts c8d22c72ea Re-enable DefaultServletRangesTest and fix byte ranges for ee10
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-11-24 14:10:41 +11:00
Greg Wilkins 2460b86d41
Jetty 12 recycle servlet channel (#8909)
Recycle ServletChannel 
Cleanup caching comments and impl
Don't recycle after completion notification
Delay setting callback until ServletHandler.handle called
Check that the retrieved ServletChannel is for the same context.
2022-11-24 13:56:43 +11:00
Jan Bartel 842956aca7 Fix after merge hell 2022-11-24 10:13:54 +11:00
Jan Bartel c4e1db57ee Issue #8460 simplify DefaultSessionIdManager start (#8464)
* Issue #8460 check DefaultSessionIdManager is started
2022-11-24 09:43:57 +11:00
Greg Wilkins a44af984b5
Jetty 12 mimetype cleanup (#8919)
MimeTypes now available via context.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2022-11-23 14:30:11 +11:00
Jan Bartel ed7968850b Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-11-23 14:01:21 +11:00
Jan Bartel cd7482a151
Issue #8460 simplify DefaultSessionIdManager start (#8464)
* Issue #8460 check DefaultSessionIdManager is started
2022-11-23 13:47:29 +11:00
Joakim Erdfelt 84208f9955
Merge pull request #8888 from eclipse/fix/jetty-12-extensible-resource-schemes
Issue #8886 - support extensible Resource URI schemes
2022-11-22 18:52:19 -06:00
Joakim Erdfelt 46ccfa1c9e
Fixing URLResourceFactory 2022-11-22 17:15:03 -06:00