Commit Graph

24975 Commits

Author SHA1 Message Date
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
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
dependabot[bot] c4c3e340b7
Bump org.eclipse.osgi from 3.18.300 to 3.18.400
Bumps [org.eclipse.osgi](https://github.com/eclipse-equinox/equinox) from 3.18.300 to 3.18.400.
- [Commits](https://github.com/eclipse-equinox/equinox/commits)

---
updated-dependencies:
- dependency-name: org.eclipse.platform:org.eclipse.osgi
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 07:51:32 +00:00
dependabot[bot] dcc294df69
Bump asciidoctorj-diagram from 2.2.8 to 2.2.9
Bumps [asciidoctorj-diagram](https://github.com/asciidoctor/asciidoctorj-diagram) from 2.2.8 to 2.2.9.
- [Release notes](https://github.com/asciidoctor/asciidoctorj-diagram/releases)
- [Commits](https://github.com/asciidoctor/asciidoctorj-diagram/compare/v2.2.8...v2.2.9)

---
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-07-06 07:51:29 +00:00
dependabot[bot] b607e4029f
Bump maven-shade-plugin from 3.4.1 to 3.5.0
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.4.1...maven-shade-plugin-3.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 07:51:27 +00:00
dependabot[bot] ccc1019e4f
Bump logback-core from 1.3.7 to 1.3.8
Bumps [logback-core](https://github.com/qos-ch/logback) from 1.3.7 to 1.3.8.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.3.7...v_1.3.8)

---
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-07-06 07:51:27 +00:00
dependabot[bot] 826eac4c19
Bump mina-core from 2.2.1 to 2.2.2
Bumps [mina-core](https://github.com/apache/mina) from 2.2.1 to 2.2.2.
- [Commits](https://github.com/apache/mina/compare/2.2.1...2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 07:51:25 +00:00
dependabot[bot] f4a1dedbc2
Bump maven-clean-plugin from 3.2.0 to 3.3.1
Bumps [maven-clean-plugin](https://github.com/apache/maven-clean-plugin) from 3.2.0 to 3.3.1.
- [Release notes](https://github.com/apache/maven-clean-plugin/releases)
- [Commits](https://github.com/apache/maven-clean-plugin/compare/maven-clean-plugin-3.2.0...maven-clean-plugin-3.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 07:51:24 +00:00
dependabot[bot] 40dba5392f
Bump wildfly-elytron from 2.2.0.Final to 2.2.1.Final
Bumps [wildfly-elytron](https://github.com/wildfly-security/wildfly-elytron) from 2.2.0.Final to 2.2.1.Final.
- [Commits](https://github.com/wildfly-security/wildfly-elytron/compare/2.2.0.Final...2.2.1.Final)

---
updated-dependencies:
- dependency-name: org.wildfly.security:wildfly-elytron
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 07:51:20 +00:00
dependabot[bot] 0ea20df93c
Bump commons-codec from 1.15 to 1.16.0
Bumps [commons-codec](https://github.com/apache/commons-codec) from 1.15 to 1.16.0.
- [Changelog](https://github.com/apache/commons-codec/blob/master/RELEASE-NOTES.txt)
- [Commits](https://github.com/apache/commons-codec/compare/rel/commons-codec-1.15...rel/commons-codec-1.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 07:51:20 +00:00
dependabot[bot] de29c9cd5a
Bump maven-invoker-plugin from 3.5.1 to 3.6.0
Bumps [maven-invoker-plugin](https://github.com/apache/maven-invoker-plugin) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/apache/maven-invoker-plugin/releases)
- [Commits](https://github.com/apache/maven-invoker-plugin/compare/maven-invoker-plugin-3.5.1...maven-invoker-plugin-3.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 07:51:12 +00:00
Joakim Erdfelt 7c0111cca4
Merge pull request #10007 from eclipse/dependabot/maven/jetty-10.0.x/maven.surefire.plugin.version-3.1.2
Bump maven.surefire.plugin.version from 3.1.0 to 3.1.2
2023-07-06 02:50:12 -05:00
dependabot[bot] 417f1f557a
Bump maven.surefire.plugin.version from 3.1.0 to 3.1.2
Bumps `maven.surefire.plugin.version` from 3.1.0 to 3.1.2.

Updates `maven-failsafe-plugin` from 3.1.0 to 3.1.2
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.0...surefire-3.1.2)

Updates `maven-surefire-plugin` from 3.1.0 to 3.1.2
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.0...surefire-3.1.2)

Updates `surefire-junit47` from 3.1.0 to 3.1.2

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 22:06:32 +00:00
Jan Bartel fd461125e0
Issue #8556 Allow getSessionTimeout to be called when not starting (#10062) 2023-07-05 23:48:48 +02:00
dependabot[bot] f513fca922
Bump maven-release-plugin from 3.0.0 to 3.0.1
Bumps [maven-release-plugin](https://github.com/apache/maven-release) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/apache/maven-release/releases)
- [Commits](https://github.com/apache/maven-release/compare/maven-release-3.0.0...maven-release-3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 21:36:27 +00:00
Joakim Erdfelt 8f2e9f3729
Merge pull request #10004 from eclipse/dependabot/maven/jetty-10.0.x/maven.resolver.version-1.9.13
Bump maven.resolver.version from 1.9.10 to 1.9.13
2023-07-05 16:31:48 -05:00