Commit Graph

24661 Commits

Author SHA1 Message Date
Greg Wilkins 3a7865546c
Updated javascript mimetypes (#9347)
+ Updated js to text/javascript
 + added mjs extension

Signed-off-by: gregw <gregw@webtide.com>
2023-02-14 18:07:48 +11:00
Jan Bartel e75ec5e37a
Issue #9181 NPE in SessionHandler (#9346) 2023-02-14 13:22:59 +11:00
Lachlan 622befbd0d
Merge pull request #9344 from eclipse/jetty-10.0.x-multipartCleanups
multipart cleanups jetty-10
2023-02-14 12:15:21 +11:00
jluehe f43ca5d554
LowResourceMonitor.getReasons should include detailed reason instead of hard-coded message (#9337) (#9338) 2023-02-14 09:36:33 +10:00
Lachlan Roberts f5a51548c9 fix test expectation
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-02-14 10:26:23 +11:00
Lachlan 1bb928bbf0
#9344 changes from review
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-02-14 09:35:18 +11:00
Lachlan e623511de2
#9344 changes from review
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-02-14 09:35:09 +11:00
Greg Wilkins 5f25f5b389
Fix/jetty 10.0.x/uri host mismatch alt (#9343)
* Introduce HttpCompliance.MISMATCHED_AUTHORITY

* Update HttpCompliance.RFC2616

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>

* Update NcsaRequestLogTest.testAbsolute

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>

* Use RFC2616 mode in RFC2616 tests

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>

* Alternative fix for mismatched host headers

This PR fixes the miss-matched host header issue in the Request.setMetaData method. This requires no change to the HttpParser.
A more comprehensive fix can be considered for jetty-12.

Signed-off-by: gregw <gregw@webtide.com>

* Alternative fix for mismatched host headers

Updates from review

Signed-off-by: gregw <gregw@webtide.com>

---------

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: gregw <gregw@webtide.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-02-14 07:43:19 +11:00
Lachlan Roberts a5344d7a26 bring back some multipart improvements from #9287
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-02-09 21:25:39 +11:00
Olivier Lamy bd4cf3c835
Jetty 10 Upgrade to Hazelcast 5 and totally disable auto join multicast etc.. (fix build on CI) (#9331)
* upgrade to hazelcast 5.2.1

Signed-off-by: Olivier Lamy <olamy@apache.org
2023-02-09 18:10:22 +10:00
Dominik Zöchbauer 40f7fc8510
Issue #7650 - Fix race condition when stopping QueuedThreadPool (#9325)
* Issue #7650 - Fix race condition when stopping QueuedThreadPool

Signed-off-by: Dominik Zöchbauer <dominik@zoechbauer.info>
Co-authored-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-02-08 10:27:14 +01: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
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
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 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
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
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
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 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
Simone Bordet c59623b6ad
Merge pull request #9282 from eclipse/fix/jetty-10.0.x/dependency-rollup-feb-1
Jetty 10 - Dependency Roll-up February 2023
2023-02-01 18:43:27 +01:00
Joakim Erdfelt b9332c6a55
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/ant.version-1.10.13' into fix/jetty-10.0.x/dependency-rollup-feb-1 2023-02-01 09:07:16 -06:00
Joakim Erdfelt b892769a02
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/maven.plugin-tools.version-3.7.1' into fix/jetty-10.0.x/dependency-rollup-feb-1
# Conflicts:
#	pom.xml
2023-02-01 09:06:48 -06:00
Joakim Erdfelt 7c50092ef8
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/maven.resolver.version-1.9.4' into fix/jetty-10.0.x/dependency-rollup-feb-1 2023-02-01 09:06:13 -06:00
Joakim Erdfelt 5bb021098a
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-plugin-plugin-3.7.1' into fix/jetty-10.0.x/dependency-rollup-feb-1 2023-02-01 09:06:07 -06:00
Joakim Erdfelt 98ae8751ae
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-checkstyle-plugin-3.2.1' into fix/jetty-10.0.x/dependency-rollup-feb-1 2023-02-01 09:06:04 -06:00
Joakim Erdfelt 5fc43ae2ea
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-dependency-plugin-3.5.0' into fix/jetty-10.0.x/dependency-rollup-feb-1 2023-02-01 09:06:02 -06:00
Joakim Erdfelt 10ce995344
Merge pull request #9279 from eclipse/jetty-10.0.x-fix-artifacts-download
Fix jetty-start test failure due to missing external resources
2023-02-01 09:02:31 -06:00
Olivier Lamy 2212c62829
temporary fix by using artifacts which exists
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-02-01 22:05:59 +10:00
dependabot[bot] 3358fac47a
Bump maven-checkstyle-plugin from 3.2.0 to 3.2.1
Bumps [maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/apache/maven-checkstyle-plugin/releases)
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.2.0...maven-checkstyle-plugin-3.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 00:15:26 +00:00
dependabot[bot] 6e5e4622a5
Bump maven-plugin-plugin from 3.7.0 to 3.7.1
Bumps [maven-plugin-plugin](https://github.com/apache/maven-plugin-tools) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.7.0...maven-plugin-tools-3.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 00:12:30 +00:00
dependabot[bot] 2e7a418e7b
Bump ant.version from 1.10.12 to 1.10.13
Bumps `ant.version` from 1.10.12 to 1.10.13.

Updates `ant` from 1.10.12 to 1.10.13

Updates `ant-launcher` from 1.10.12 to 1.10.13

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 00:11:38 +00:00
dependabot[bot] b6124fab83
Bump maven.plugin-tools.version from 3.7.0 to 3.7.1
Bumps `maven.plugin-tools.version` from 3.7.0 to 3.7.1.

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 00:06:39 +00:00
dependabot[bot] a373ca5194
Bump maven.resolver.version from 1.9.2 to 1.9.4
Bumps `maven.resolver.version` from 1.9.2 to 1.9.4.

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

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

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 00:05:02 +00:00
dependabot[bot] 533f8243f9
Bump maven-dependency-plugin from 3.4.0 to 3.5.0
Bumps [maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.4.0...maven-dependency-plugin-3.5.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>
2023-02-01 00:02:48 +00:00
Joakim Erdfelt beee5ffff0
Merge pull request #9197 from eclipse/jetty-10.0.x-jenkinsfile-agent-none
use agent none so we do not steal an agent doing nothing except waiting for parallel builds to finish"
2023-01-26 09:27:05 -06:00
Jan Bartel d46f6f7834
Log as info exceptions from server after sending stop with StopMojo. (#9188)
* Log as info exceptions from server after sending stop with StopMojo.
2023-01-25 17:03:04 +11:00
Olivier Lamy 039503c8e9
no need to use an agent here before the real build
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-01-23 11:44:31 +10:00
Joakim Erdfelt 4993291af0
Wrong value of `RequestDispatcher.FORWARD_CONTEXT_PATH` attribute on root context (#9123)
* Wrong value of RequestDispatcher.FORWARD_CONTEXT_PATH on root context

* Fixes #9119 - uses proper context path that
  satisfies the root context rules of the servlet
  spec

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-01-20 08:16:43 -06:00
Simone Bordet 7fd62668d7
Fixes #9183 - ConnectHandler may close the connection instead of send… (#9184)
* Fixes #9183 - ConnectHandler may close the connection instead of sending 200 OK.

Delaying the call to UpstreamConnection.fillInterested() until the 200 OK response has been sent.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-01-19 15:07:22 +01:00
Piotrek Żygieło 5659e6df5b
Do not execute any phase for maven plugin :start (#9128) 2023-01-18 09:50:20 +11:00
Olivier Lamy 7c7a7f3c39
re-enable h3 tests (#8773)
* run h3 tests

Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-01-12 09:22:10 +08:00
Joakim Erdfelt 4ca148b2d2
Merge pull request #9112 from eclipse/dependabot/maven/jetty-10.0.x/maven.version-3.8.7
Bump maven.version from 3.8.6 to 3.8.7
2023-01-02 10:36:19 -06:00
dependabot[bot] 4b8380ff19
Bump maven.version from 3.8.6 to 3.8.7
Bumps `maven.version` from 3.8.6 to 3.8.7.

Updates `maven-artifact` from 3.8.6 to 3.8.7
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.8.6...maven-3.8.7)

Updates `maven-core` from 3.8.6 to 3.8.7
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.8.6...maven-3.8.7)

Updates `maven-model` from 3.8.6 to 3.8.7
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.8.6...maven-3.8.7)

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

Updates `maven-resolver-provider` from 3.8.6 to 3.8.7
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.8.6...maven-3.8.7)

Updates `maven-settings` from 3.8.6 to 3.8.7
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.8.6...maven-3.8.7)

---
updated-dependencies:
- dependency-name: org.apache.maven:maven-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.maven:maven-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.maven:maven-model
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.maven:maven-plugin-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.maven:maven-resolver-provider
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.maven:maven-settings
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 00:06:55 +00:00
dependabot[bot] c392d80aca
Merge pull request #9097 from eclipse/dependabot/maven/jetty-10.0.x/org.infinispan.protostream-protostream-4.6.0.Final 2022-12-28 21:46:01 +00:00
Olivier Lamy 107c80ae7d
fix upperbound issue with jackson
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-12-28 21:59:46 +10:00
dependabot[bot] 63d26f30ea
Merge pull request #9106 from eclipse/dependabot/maven/jetty-10.0.x/org.eclipse.platform-org.eclipse.osgi.services-3.11.100 2022-12-28 10:57:19 +00:00
dependabot[bot] ee87df070e
Merge pull request #9104 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.httpcomponents-httpclient-4.5.14 2022-12-28 10:56:20 +00:00