Commit Graph

24989 Commits

Author SHA1 Message Date
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
Joakim Erdfelt ed54922f44
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-shade-plugin-3.5.0' into fix/10.0.x/dependency-rollup 2023-07-06 04:57:01 -05:00
Joakim Erdfelt 7ba1788a38
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-release-plugin-3.0.1' into fix/10.0.x/dependency-rollup 2023-07-06 04:56:57 -05:00
Joakim Erdfelt b61c0c900c
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-invoker-plugin-3.6.0' into fix/10.0.x/dependency-rollup 2023-07-06 04:56:54 -05:00
Joakim Erdfelt 454e7ac753
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-clean-plugin-3.3.1' into fix/10.0.x/dependency-rollup 2023-07-06 04:56:50 -05:00
Joakim Erdfelt c979c9f5b1
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/commons-io-commons-io-2.13.0' into fix/10.0.x/dependency-rollup 2023-07-06 04:56:47 -05:00
Joakim Erdfelt fdd5ea00d2
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/commons-codec-commons-codec-1.16.0' into fix/10.0.x/dependency-rollup 2023-07-06 04:56:44 -05:00
dependabot[bot] eaace6d18e
Bump tycho-p2-repository-plugin from 3.0.4 to 4.0.0
Bumps [tycho-p2-repository-plugin](https://github.com/eclipse-tycho/tycho) from 3.0.4 to 4.0.0.
- [Release notes](https://github.com/eclipse-tycho/tycho/releases)
- [Changelog](https://github.com/eclipse-tycho/tycho/blob/master/RELEASE_NOTES.md)
- [Commits](https://github.com/eclipse-tycho/tycho/compare/tycho-3.0.4...tycho-4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 07:51:59 +00:00
dependabot[bot] c859925544
Bump plexus-xml from 4.0.0 to 4.0.2
Bumps [plexus-xml](https://github.com/codehaus-plexus/plexus-xml) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/codehaus-plexus/plexus-xml/releases)
- [Commits](https://github.com/codehaus-plexus/plexus-xml/compare/plexus-xml-4.0.0...plexus-xml-4.0.2)

---
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-xml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 07:51:47 +00:00
dependabot[bot] 22ce6275ca
Bump jboss-logging from 3.5.0.Final to 3.5.3.Final
Bumps [jboss-logging](https://github.com/jboss-logging/jboss-logging) from 3.5.0.Final to 3.5.3.Final.
- [Release notes](https://github.com/jboss-logging/jboss-logging/releases)
- [Commits](https://github.com/jboss-logging/jboss-logging/compare/3.5.0.Final...3.5.3.Final)

---
updated-dependencies:
- dependency-name: org.jboss.logging:jboss-logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 07:51:41 +00:00
dependabot[bot] 2d2a0c9fb3
Bump commons-io from 2.12.0 to 2.13.0
Bumps commons-io from 2.12.0 to 2.13.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 07:51:35 +00:00
dependabot[bot] 9d9ab46b68
Bump maven-war-plugin from 3.3.2 to 3.4.0
Bumps [maven-war-plugin](https://github.com/apache/maven-war-plugin) from 3.3.2 to 3.4.0.
- [Commits](https://github.com/apache/maven-war-plugin/compare/maven-war-plugin-3.3.2...maven-war-plugin-3.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 07:51:33 +00:00