Commit Graph

25000 Commits

Author SHA1 Message Date
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
Simone Bordet 218c8d0fb0
Fixes #10086 - Revisiting ProxyConfiguration.getProxies() (#10116)
Removed "for removal" deprecation, added clarifying javadocs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-17 16:45:17 +02:00
Simone Bordet c967b100e7
Fixes #10105 - Document that Request objects are not reusable. (#10113)
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-17 16:44:44 +02:00
Simone Bordet af9d8d3a32
Added test case to show how to handle zip content in AsyncMiddleManServlet. (#9986)
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-17 11:03:57 +02:00
Simone Bordet 7352653440
Merged branch 'jpstotz:getter' into 'jetty-10.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-15 15:31:15 +02:00
Simone Bordet e997f48842
Added javadocs to HeaderParser.getFlags() and hasFlag().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-15 15:29:06 +02:00
Jesse McConnell 5e811d9af0
Fixes #10107 (#10109)
Signed-off-by: Jesse McConnell <jesse.mcconnell@gmail.com>
2023-07-15 15:18:55 +02:00
Jesse McConnell 7cd1178b3c Fixes #10107 (#10109)
Signed-off-by: Jesse McConnell <jesse.mcconnell@gmail.com>
2023-07-14 13:43:40 -05:00
Simone Bordet e90bccb158
Merge branch 'jetty-10.0.x' into getter 2023-07-14 20:07:50 +02:00
Joakim Erdfelt a9c596e3d7
Updating various old/moved URL references found across project (`jetty-10.0.x`) (#10098)
* Now that the migration of `https://eclipse.org/jetty/` to `https://eclipse.dev/jetty/` has occurred, it is time to review the URI use in our project

+ Updated URLs in poms
+ Added more URIs to XmlConfiguration
+ Updated URLs in module files
+ Updated URLs in documentation
+ Updated URLs in HTML
+ Correcting bad double-scheme URLs (eg: `http://https://www.eclipse...`)
+ Updating text in *.mod files
+ Removing `/current/` from path `/jetty/documentation/current/`
+ Fixing mailing list URL

---------

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-07-14 12:38:45 -05:00
Greg Wilkins 11d2a32eea
Fixes #9999 and #10055 - proper quoting for dry-run
Using "strong quoting" with the single quote character to quote argument of --dry-run output.

Signed-off-by: gregw <gregw@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-14 17:05:41 +02:00
Greg Wilkins db843866e3
Merge branch 'jetty-10.0.x' into getter 2023-07-07 11:18:47 +02:00
Joakim Erdfelt 9a05c75ad2
Issue #10066 - Allow customization of `SAXParserFactory` and `SAXParser` in `XmlParser` (#10067)
* Allow customization of SAXParserFactory / SAXParser in XmlParser
* Introduce method `.getSAXParser()`
---------

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Greg Wilkins <gregw@webtide.com>
2023-07-06 16:32:49 -05:00
Joakim Erdfelt dee0d4ff7d
Merge pull request #10075 from eclipse/fix/10.0.x/dependency-rollup
Dependency Rollup for `jetty-10.0.x` - July 2023
2023-07-06 07:40:01 -05:00
Joakim Erdfelt b3128b642f
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.wildfly.security-wildfly-elytron-2.2.1.Final' into fix/10.0.x/dependency-rollup 2023-07-06 04:57:27 -05:00
Joakim Erdfelt 6fbb40c8af
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.jboss.logging-jboss-logging-3.5.3.Final' into fix/10.0.x/dependency-rollup 2023-07-06 04:57:23 -05:00
Joakim Erdfelt d1be19feec
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.eclipse.tycho-tycho-p2-repository-plugin-4.0.0' into fix/10.0.x/dependency-rollup 2023-07-06 04:57:20 -05:00
Joakim Erdfelt 6b2091b4ed
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.eclipse.platform-org.eclipse.osgi-3.18.400' into fix/10.0.x/dependency-rollup 2023-07-06 04:57:16 -05:00
Joakim Erdfelt f29e6744e5
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.codehaus.plexus-plexus-xml-4.0.2' into fix/10.0.x/dependency-rollup 2023-07-06 04:57:13 -05:00
Joakim Erdfelt ba4b2e76da
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.asciidoctor-asciidoctorj-diagram-2.2.9' into fix/10.0.x/dependency-rollup 2023-07-06 04:57:10 -05:00
Joakim Erdfelt f633071582
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.apache.mina-mina-core-2.2.2' into fix/10.0.x/dependency-rollup 2023-07-06 04:57:07 -05:00
Joakim Erdfelt 5e0a1a8fe4
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-war-plugin-3.4.0' into fix/10.0.x/dependency-rollup 2023-07-06 04:57:04 -05:00