Commit Graph

25021 Commits

Author SHA1 Message Date
Olivier Lamy 98d25a788a
Update Jenkinsfile-autobahn to not use not anymore available container (#10001) 2023-08-15 07:11:26 +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 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
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
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
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
dependabot[bot] 95981c2fbe
Bump org.apache.maven.scm:maven-scm-provider-jgit from 2.0.0 to 2.0.1
Bumps org.apache.maven.scm:maven-scm-provider-jgit from 2.0.0 to 2.0.1.

---
updated-dependencies:
- dependency-name: org.apache.maven.scm:maven-scm-provider-jgit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 04:11:17 +00:00
dependabot[bot] da881426c9
Merge pull request #10247 from eclipse/dependabot/maven/jetty-10.0.x/maven.resolver.version-1.9.15 2023-08-08 04:10:13 +00:00
dependabot[bot] 8d747a170c
Bump maven.resolver.version from 1.9.14 to 1.9.15
Bumps `maven.resolver.version` from 1.9.14 to 1.9.15.

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

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

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

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

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

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

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

---
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-08-08 02:36:51 +00:00
dependabot[bot] 6fc12b8e9f
Merge pull request #10258 from eclipse/dependabot/maven/jetty-10.0.x/ch.qos.logback-logback-core-1.3.9 2023-08-08 02:35:39 +00:00
dependabot[bot] e88835fcc7
Bump ch.qos.logback:logback-core from 1.3.8 to 1.3.9
Bumps [ch.qos.logback:logback-core](https://github.com/qos-ch/logback) from 1.3.8 to 1.3.9.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.3.8...v_1.3.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 00:51:14 +00:00
dependabot[bot] f9bacbf260
Merge pull request #10249 from eclipse/dependabot/maven/jetty-10.0.x/org.eclipse.cbi.maven.plugins-eclipse-jarsigner-plugin-1.4.2 2023-08-08 00:50:07 +00:00
dependabot[bot] bf822a8046
Bump org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin
Bumps org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin from 1.1.7 to 1.4.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 22:54:49 +00:00
dependabot[bot] 66702ca361
Merge pull request #10244 from eclipse/dependabot/maven/jetty-10.0.x/jmh.version-1.37 2023-08-07 22:53:41 +00:00
dependabot[bot] a653366185
Bump jmh.version from 1.36 to 1.37
Bumps `jmh.version` from 1.36 to 1.37.

Updates `org.openjdk.jmh:jmh-core` from 1.36 to 1.37
- [Commits](https://github.com/openjdk/jmh/compare/1.36...1.37)

Updates `org.openjdk.jmh:jmh-generator-annprocess` from 1.36 to 1.37
- [Commits](https://github.com/openjdk/jmh/compare/1.36...1.37)

---
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>
2023-08-07 20:16:24 +00:00
Simone Bordet 30ed83f3d0
Fixes #10211 - NPE in ArrayByteBufferPool.findOldestEntry() (#10212)
* Fixes #10211 - NPE in ArrayByteBufferPool.findOldestEntry()

Fixed algorithm to check for oldest entry to avoid NPE.
Added comments for clarity.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-02 22:26:53 +02:00
dependabot[bot] 86312f1d11
Merge pull request #10191 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.servicemix.tooling-depends-maven-plugin-1.5.0 2023-08-01 23:41:49 +00:00
dependabot[bot] 6973c11925
Bump org.apache.servicemix.tooling:depends-maven-plugin
Bumps org.apache.servicemix.tooling:depends-maven-plugin from 1.4.0 to 1.5.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 22:06:25 +00:00
dependabot[bot] 156d04e27e
Merge pull request #10192 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.avro-avro-1.11.2 2023-08-01 22:05:03 +00:00
Joakim Erdfelt 1ae61fa973
Merge branch 'jetty-10.0.x' into dependabot/maven/jetty-10.0.x/org.apache.avro-avro-1.11.2 2023-08-01 15:38:34 -05:00
dependabot[bot] ef3c1ed433
Merge pull request #10183 from eclipse/dependabot/maven/jetty-10.0.x/net.minidev-json-smart-2.5.0 2023-08-01 11:53:20 +00:00
Olivier Lamy 0cb898069f
bump jackson version to fix upperbound issue
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-08-01 21:41:34 +10:00
dependabot[bot] 4be183afdd
Bump net.minidev:json-smart from 2.4.11 to 2.5.0
Bumps [net.minidev:json-smart](https://github.com/netplex/json-smart-v2) from 2.4.11 to 2.5.0.
- [Release notes](https://github.com/netplex/json-smart-v2/releases)
- [Commits](https://github.com/netplex/json-smart-v2/compare/2.4.11...2.5.0)

---
updated-dependencies:
- dependency-name: net.minidev:json-smart
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 09:49:02 +00:00
dependabot[bot] 257bc52d84
Bump org.apache.avro:avro from 1.11.1 to 1.11.2
Bumps org.apache.avro:avro from 1.11.1 to 1.11.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 09:48:25 +00:00
dependabot[bot] 335f733253
Merge pull request #10188 from eclipse/dependabot/maven/jetty-10.0.x/org.eclipse.tycho-tycho-p2-repository-plugin-4.0.1 2023-08-01 09:47:22 +00:00
dependabot[bot] 6de611f236
Bump org.eclipse.tycho:tycho-p2-repository-plugin from 4.0.0 to 4.0.1
Bumps [org.eclipse.tycho:tycho-p2-repository-plugin](https://github.com/eclipse-tycho/tycho) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/eclipse-tycho/tycho/releases)
- [Changelog](https://github.com/eclipse-tycho/tycho/blob/tycho-4.0.1/RELEASE_NOTES.md)
- [Commits](https://github.com/eclipse-tycho/tycho/compare/tycho-4.0.0...tycho-4.0.1)

---
updated-dependencies:
- dependency-name: org.eclipse.tycho:tycho-p2-repository-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 08:13:39 +00:00
dependabot[bot] 713eb39bfe
Merge pull request #10182 from eclipse/dependabot/maven/jetty-10.0.x/maven.resolver.version-1.9.14 2023-08-01 08:12:36 +00:00
dependabot[bot] d268d45092
Bump maven.resolver.version from 1.9.13 to 1.9.14
Bumps `maven.resolver.version` from 1.9.13 to 1.9.14.

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

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

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

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

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

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

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

---
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-08-01 06:22:27 +00:00
dependabot[bot] c822eadef6
Merge pull request #10193 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.commons-commons-lang3-3.13.0 2023-08-01 06:21:11 +00:00
dependabot[bot] 1e0d153575
Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.13.0
Bumps org.apache.commons:commons-lang3 from 3.12.0 to 3.13.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-lang3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 04:22:02 +00:00
dependabot[bot] 42d07d664b
Merge pull request #10181 from eclipse/dependabot/maven/jetty-10.0.x/org.asciidoctor-asciidoctorj-diagram-2.2.10 2023-08-01 04:20:35 +00:00
dependabot[bot] eb0295d765
Bump org.asciidoctor:asciidoctorj-diagram from 2.2.9 to 2.2.10
Bumps [org.asciidoctor:asciidoctorj-diagram](https://github.com/asciidoctor/asciidoctorj-diagram) from 2.2.9 to 2.2.10.
- [Release notes](https://github.com/asciidoctor/asciidoctorj-diagram/releases)
- [Commits](https://github.com/asciidoctor/asciidoctorj-diagram/compare/v2.2.9...v2.2.10)

---
updated-dependencies:
- dependency-name: org.asciidoctor:asciidoctorj-diagram
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 00:23:32 +00:00
Simone Bordet 56e0069ed3 Fixes #9386 - SSL reports deprecated setting, but ssl.ini still uses it.
Removed references to deprecated properties `jetty.sslContext.[key|trust]StoreAbsolutePath`.
Updated documentation to explicitly report that the path can be absolute.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-31 19:26:20 +02:00
Simone Bordet 4bfdd51f94
Removed unused code.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-31 19:20:13 +02:00
Simone Bordet b2477d1c38
Fixes #10160 - Verify PROXY_AUTHENTICATION is sent to forward proxies (#10162)
Now TunnelRequest.getURI() does not return null, so normalizeRequest() can properly apply the authentication headers.

Moved copy of a request to HttpRequest, so also the sub-type can be copied.
Fixed restore of destination in HttpProxy.HttpProxyClientConnectionFactory.newProxyConnection(): now doing it in the promise rather than in finally block.
Using the proxy destination (not the server's) to send subsequent CONNECT requests in case the first is not replied with 200.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-31 18:39:13 +02:00
Simone Bordet afef05a413 Fixes #9720 - Http2Session.streamIdleTimeout should permit being disabled
Now allowing to specify a negative value for AbstractHTTP2ServerConnectionFactory.streamIdleTimeout, while 0 implies to use the default value (from the EndPoint).

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-31 17:17:01 +02:00
Simone Bordet 87c24e7258
Fixes #8405 - onAllDataRead() is called twice under h2 if the stream … (#10174)
* Fixes #8405 - onAllDataRead() is called twice under h2 if the stream times out

Per Servlet semantic, HTTP/2 stream timeout should be ignored.

The code was trying to fail the read via `_contentDemander.onTimeout()`, but
then it was still calling `onContentProducible()`, which was returning `true`
because the state of the read was IDLE (all the request content was read) and
the request was suspended.

Now the code checks if the read was really failed; if it is not, then
`onContentProducible()` is not called and so the idle timeout is ignored.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-31 15:13:50 +02:00
Lachlan e268917fb3
Merge pull request #10136 from eclipse/jetty-10.0.x-10135-websocketFlush
Issue #10135 - fix empty binary frame from websocket flush
2023-07-31 11:45:32 +10:00
Lachlan 74d136076a
Merge branch 'jetty-10.0.x' into jetty-10.0.x-10135-websocketFlush 2023-07-28 15:29:16 +10:00
Greg Wilkins 90910fa337
Fix #10143 executable comparator (#10156)
Fixed the executable comparator to always be transitive.

Signed-off-by: gregw <gregw@webtide.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-07-27 00:03:07 +02:00
Simone Bordet a5a0a6c887
Fixes #10145 - WritePendingException over HTTP/2 tunnel (#10146)
Method HTTP2StreamEndPoint.flush() has a "no pending operation" semantic, but the previous implementation was calling stream.data(), which may become a pending operation if the stream is congested.

Changed the implementation of flush() to return false in the IDLE and PENDING cases.
Now every flush() is converted to a write(), which has the same semantic as stream.data().

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-26 22:59:24 +02:00
Simone Bordet e7a088f3f0 Fixes #10120 - OOME caused by CyclicTimeouts.
Fixed handling of Expirable.getExpireNanoTime() in case it returns Long.MAX_VALUE.

Also fixed implementations of Expirable that were not initializing their expireNanoTime field to Long.MAX_VALUE.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-26 10:42:10 +02:00
Lachlan Roberts d7a8516a01 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-10135-websocketFlush 2023-07-24 22:37:03 +10:00
Lachlan Roberts 745ee46ebe Issue #10135 - fix empty binary frame from websocket flush
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-07-24 22:29:28 +10:00
Simone Bordet 9e16d81cf8 Improvements on suggested PR.
* Made HttpChannel Dispatchable fields for REQUEST and ASYNC dispatches.
* Made AdaptiveExecutionStrategy implement Runnable to remove lambda/anonymous field.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-17 23:21:55 +02:00
Steven Schlansker 5db0c7b552 HttpChannel, AdaptiveExecutionStrategy: improve profiler-friendliness
In an application with multiple Jetty instances in one JVM (e.g. integration test)
when examining stack frames using the debugger or profiler, most samples
that involve user code will have these two frames in their stack.

Unfortunately, with a lambda, the different Jetty instances actually have different class names
for different lambdas, which causes stack analysis to falsely think the frames are different.

It's a little uglier, but by replacing these two specific lambdas with anonymous classes with a stable name,
the profiler is able to see that the frames are in fact the same and collapse them, improving observability.
2023-07-17 23:21:55 +02:00