Commit Graph

23862 Commits

Author SHA1 Message Date
Simone Bordet d88fc7685f
Merge pull request #7385 from eclipse/dependabot/maven/jetty-10.0.x/org.codehaus.mojo-build-helper-maven-plugin-3.3.0
Bump build-helper-maven-plugin from 3.2.0 to 3.3.0
2022-01-14 12:26:36 +01:00
Simone Bordet bd3275037f
Merge pull request #7384 from eclipse/dependabot/maven/jetty-10.0.x/org.asciidoctor-asciidoctorj-2.5.3
Bump asciidoctorj from 2.5.2 to 2.5.3
2022-01-14 12:26:20 +01:00
Simone Bordet 779d009a57
Merge pull request #7383 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-jar-plugin-3.2.2
Bump maven-jar-plugin from 3.2.0 to 3.2.2
2022-01-14 12:26:00 +01:00
Jan Bartel 0613818c5e
Issue #7375 Request scoped sessions (#7390)
Signed-off-by: Jan Bartel <janb@webtide.com>
2022-01-14 15:39:38 +11:00
dependabot[bot] 24873b5119
Bump build-helper-maven-plugin from 3.2.0 to 3.3.0
Bumps [build-helper-maven-plugin](https://github.com/mojohaus/build-helper-maven-plugin) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/mojohaus/build-helper-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/build-helper-maven-plugin/compare/build-helper-maven-plugin-3.2.0...build-helper-maven-plugin-3.3.0)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:build-helper-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 17:31:32 +00:00
Simone Bordet 26bf5612f2
Merge pull request #7367 from eclipse/dependabot/maven/jetty-10.0.x/com.github.jnr-jnr-posix-3.1.15
Bump jnr-posix from 3.1.14 to 3.1.15
2022-01-13 18:31:08 +01:00
dependabot[bot] 212282c300
Bump asciidoctorj from 2.5.2 to 2.5.3
Bumps [asciidoctorj](https://github.com/asciidoctor/asciidoctorj) from 2.5.2 to 2.5.3.
- [Release notes](https://github.com/asciidoctor/asciidoctorj/releases)
- [Changelog](https://github.com/asciidoctor/asciidoctorj/blob/main/CHANGELOG.adoc)
- [Commits](https://github.com/asciidoctor/asciidoctorj/compare/v2.5.2...v2.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 17:31:00 +00:00
Simone Bordet 54f8adad01
Merge pull request #7358 from eclipse/dependabot/maven/jetty-10.0.x/com.github.spotbugs-spotbugs-maven-plugin-4.5.3.0
Bump spotbugs-maven-plugin from 4.5.2.0 to 4.5.3.0
2022-01-13 18:29:29 +01:00
dependabot[bot] 0309d8c074
Bump maven-jar-plugin from 3.2.0 to 3.2.2
Bumps [maven-jar-plugin](https://github.com/apache/maven-jar-plugin) from 3.2.0 to 3.2.2.
- [Release notes](https://github.com/apache/maven-jar-plugin/releases)
- [Commits](https://github.com/apache/maven-jar-plugin/compare/maven-jar-plugin-3.2.0...maven-jar-plugin-3.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 17:25:25 +00:00
Simone Bordet ec6e554751
Merge pull request #7362 from eclipse/dependabot/maven/jetty-10.0.x/com.github.jnr-jnr-enxio-0.32.13
Bump jnr-enxio from 0.32.12 to 0.32.13
2022-01-13 18:25:17 +01:00
Simone Bordet 1617fed5f3
Merge pull request #7379 from eclipse/dependabot/maven/jetty-10.0.x/com.google.cloud-google-cloud-datastore-2.2.2
Bump google-cloud-datastore from 2.2.1 to 2.2.2
2022-01-13 18:23:17 +01:00
Ludovic Orban f0810c0fa4 #7281 review test suite to improve code coverage
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-01-13 15:06:32 +01:00
Ludovic Orban 09c1b06399 #7281 add special case for zero-length content
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-01-13 15:06:32 +01:00
Ludovic Orban 5a551a832b #7281 check that at least one byte of raw content is consumed by the interceptor and clarify its javadoc
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-01-13 15:06:32 +01:00
Ludovic Orban 0fb3079c90 #7281 improve isSpecial javadoc
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-01-13 15:06:32 +01:00
Ludovic Orban 5cad97e134 #7281 rewrite nextTransformedContent
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-01-13 15:06:32 +01:00
Ludovic Orban 1682265a00 #7281 add more tests and fix shortcomings
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-01-13 15:06:32 +01:00
Ludovic Orban ec9846c116 #7281 add Interceptor javadoc
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-01-13 15:06:32 +01:00
Ludovic Orban 91f29a04a9 #7281 pass special content to interceptors
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-01-13 15:06:32 +01:00
dependabot[bot] 7931b7ff42
Bump jnr-posix from 3.1.14 to 3.1.15
Bumps [jnr-posix](https://github.com/jnr/jnr-posix) from 3.1.14 to 3.1.15.
- [Release notes](https://github.com/jnr/jnr-posix/releases)
- [Commits](https://github.com/jnr/jnr-posix/compare/jnr-posix-3.1.14...jnr-posix-3.1.15)

---
updated-dependencies:
- dependency-name: com.github.jnr:jnr-posix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 13:47:10 +00:00
dependabot[bot] 182ebfe5c8
Bump jnr-enxio from 0.32.12 to 0.32.13
Bumps [jnr-enxio](https://github.com/jnr/jnr-enxio) from 0.32.12 to 0.32.13.
- [Release notes](https://github.com/jnr/jnr-enxio/releases)
- [Commits](https://github.com/jnr/jnr-enxio/compare/jnr-enxio-0.32.12...jnr-enxio-0.32.13)

---
updated-dependencies:
- dependency-name: com.github.jnr:jnr-enxio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 13:46:53 +00:00
dependabot[bot] 71a706248a
Bump google-cloud-datastore from 2.2.1 to 2.2.2
Bumps [google-cloud-datastore](https://github.com/googleapis/java-datastore) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/googleapis/java-datastore/releases)
- [Changelog](https://github.com/googleapis/java-datastore/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/java-datastore/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: com.google.cloud:google-cloud-datastore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 13:46:11 +00:00
dependabot[bot] 7ecab4be6a
Merge pull request #7365 from eclipse/dependabot/maven/jetty-10.0.x/com.github.jnr-jnr-ffi-2.2.11 2022-01-13 13:44:54 +00:00
Simone Bordet 0ac6718b35
Fixes #7209 - Flaky test GoAwayTest.testServerGoAwayWithStalledStreamServerConsumesDataOfInFlightStream()
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
(cherry picked from commit 0fb733f32a)
2022-01-13 13:18:57 +01:00
Simone Bordet 51123c7cd1
Fixes #7369 - Document CustomRequestLog
Added documentation to the programming guide.
Removed related old documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-01-12 17:12:01 +01:00
Simone Bordet 251649f0a9
Generate plantuml images in the images/ directory.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-01-12 15:52:00 +01:00
Simone Bordet d055c1c524
Changed URLs from adoptopenjdk.net to adoptium.net.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-01-12 15:14:31 +01:00
Simone Bordet b51465f91a
Fixes #7369 - Document CustomRequestLog (#7370)
* Fixes #7369 - Document CustomRequestLog

Introduced `JavadocIncludeExtension` to include javadoc snippets in the documentation.
Added documentation about request logging.
Updated `CustomRequestLog` javadocs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-01-12 10:27:53 +01:00
Simone Bordet 95f5773cb8
Fixed typo. 2022-01-11 16:41:34 +01:00
lujiefsi ff10c26332
fix resource leak (#7361)
Fix resource leaks
2022-01-10 10:56:22 +01:00
dependabot[bot] 29ede20341
Bump jnr-ffi from 2.2.10 to 2.2.11
Bumps [jnr-ffi](https://github.com/jnr/jnr-ffi) from 2.2.10 to 2.2.11.
- [Release notes](https://github.com/jnr/jnr-ffi/releases)
- [Commits](https://github.com/jnr/jnr-ffi/compare/jnr-ffi-2.2.10...jnr-ffi-2.2.11)

---
updated-dependencies:
- dependency-name: com.github.jnr:jnr-ffi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-07 09:22:48 +00:00
Joakim Erdfelt 1984d2de11
Issue #7277 - Allow `Request.getLocalName()` and `.getLocalPort()` to be overridden (#7357)
* Issue #7277 - Allow `Request.getLocalName()` and `.getLocalPort()` to be overridden (#7316)

* Introduce `HttpConfiguration.setServerAuthority(HostPort)`
  to influence `ServletRequest.getServerName()` and `ServletRequest.getServerPort()`
* Introduce `HttpConfiguration.setLocalAddress(SocketAddress)`
  to influence `ServletRequest.getLocalName()`, `ServletRequest.getLocalPort()`, and `ServletRequest.getLocalAddr()`
* Correcting Request URI logic on abs-uri without authority
* Adding test cases

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-01-06 08:01:08 -06:00
Simone Bordet 3042f2b2bf
Fixes #7348 - Slow CONNECT request causes NPE (#7349) (#7352)
* Fixes #7348 - Slow CONNECT request causes NPE (#7349)

Added NPE guard in `HttpReceiverOverHTTP.onUpgradeFrom()`.
Expanded logic in `HttpReceiverOverHTTP.parse()` to return true in case of CONNECT + 200.

Fixed `ProxyConnection.toConnectionString()` to avoid NPEs.

Fixed `HttpClientTest.testCONNECTWithHTTP10()` logic
after changes to fix this issue.

Now a tunneled connection is not put back into the connection pool,
and if applications explicitly want to use it, they must re-enable
fill interest, similarly to what should be done after upgrade+101.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
(cherry picked from commit 5eb7b70df7)
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-01-06 11:08:12 +01:00
dependabot[bot] 3e7a3bac89
Bump spotbugs-maven-plugin from 4.5.2.0 to 4.5.3.0
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.5.2.0 to 4.5.3.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.5.2.0...spotbugs-maven-plugin-4.5.3.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-06 09:22:54 +00:00
Joakim Erdfelt 13956b27e2
Issue #7297 - Removing log4j 1.x (#7353)
* Issue #7297 - Removing log4j 1.x

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

* Issue #7297 - Deprecating log4j 1.x

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-01-05 12:26:05 -06:00
Joakim Erdfelt 45fc93aec1
Issue #7354 - Do not add demo jars to jetty-home (#7355)
* Issue #7354 - Do not add demo jars to jetty-home

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

* Issue #7254 - Do not add lib/ext directory to jetty-home

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-01-05 10:33:26 -06:00
Jan Bartel 5aa598efd5
Issue #7313 Add AttributeContainerMap as bean to server for all constructors. (#7317)
Signed-off-by: Jan Bartel <janb@webtide.com>
2022-01-04 14:10:58 +11:00
dependabot[bot] 6de526e808
Bump maven-scm-provider-jgit from 1.10.0 to 1.12.2 (#7347)
Bumps maven-scm-provider-jgit from 1.10.0 to 1.12.2.

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-03 10:11:34 -06:00
Simone Bordet 528ac643ac
Issue #7299 - Enabling the logging-logback module prevents eclipse re… (#7335)
* Issue #7299 - Enabling the logging-logback module prevents eclipse remote debugging.

Added documentation as discussed in the issue.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-01-03 10:47:43 +01:00
dependabot[bot] ce6e495c34
Merge pull request #7345 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-deploy-plugin-3.0.0-M2 2021-12-31 18:31:19 +00:00
dependabot[bot] 074b6d136b
Bump maven-deploy-plugin from 3.0.0-M1 to 3.0.0-M2
Bumps [maven-deploy-plugin](https://github.com/apache/maven-deploy-plugin) from 3.0.0-M1 to 3.0.0-M2.
- [Release notes](https://github.com/apache/maven-deploy-plugin/releases)
- [Commits](https://github.com/apache/maven-deploy-plugin/compare/maven-deploy-plugin-3.0.0-M1...maven-deploy-plugin-3.0.0-M2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-31 09:19:31 +00:00
dependabot[bot] f69c479d19
Merge pull request #7339 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-site-plugin-3.10.0 2021-12-29 21:45:21 +00:00
dependabot[bot] c4785743af
Bump maven-site-plugin from 3.9.1 to 3.10.0
Bumps [maven-site-plugin](https://github.com/apache/maven-site-plugin) from 3.9.1 to 3.10.0.
- [Release notes](https://github.com/apache/maven-site-plugin/releases)
- [Commits](https://github.com/apache/maven-site-plugin/compare/maven-site-plugin-3.9.1...maven-site-plugin-3.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-29 20:12:43 +00:00
dependabot[bot] dd642415c7
Bump log4j-api from 2.17.0 to 2.17.1 (#7343)
Bumps log4j-api from 2.17.0 to 2.17.1.

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-29 06:54:34 -06:00
dependabot[bot] 7d04f2964b
Bump checkstyle from 9.2 to 9.2.1 (#7340)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 9.2 to 9.2.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-9.2...checkstyle-9.2.1)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-29 06:53:40 -06:00
Joakim Erdfelt 3c02a03a38
Issue #6973 - Setup Request/Response objects for success with RequestLog (#7183)
* Issue #6973 - Setup Request/Response objects for success with RequestLog

+ Prevents reading of Request body parameters
+ Still allows raw Request.getInputStream() and
  Request.getReader() usage
+ Restores committed response status code.
+ Does not rest committed response headers.
+ Adding testcase for post-commit response header
  issue. (currently disabled)
+ Remove Request.onRequestLog()
+ Move requestlog calling from HttpChannel to Request.onCompleted
+ address scenario where HttpChannel is null

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-12-28 20:11:52 -06:00
dependabot[bot] 95804b80c8
Bump jmh.version from 1.33 to 1.34 (#7337)
Bumps `jmh.version` from 1.33 to 1.34.

Updates `jmh-core` from 1.33 to 1.34

Updates `jmh-generator-annprocess` from 1.33 to 1.34

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-26 08:35:21 -06:00
dependabot[bot] 5ba8947f57
Merge pull request #7334 from eclipse/dependabot/maven/jetty-10.0.x/ch.qos.logback-logback-core-1.3.0-alpha12 2021-12-23 22:07:08 +00:00
dependabot[bot] 40fe015546
Merge pull request #7330 from eclipse/dependabot/maven/jetty-10.0.x/maven.resolver.version-1.7.3 2021-12-23 22:04:27 +00:00
dependabot[bot] a98b3e8efa
Bump logback-core from 1.3.0-alpha11 to 1.3.0-alpha12
Bumps [logback-core](https://github.com/qos-ch/logback) from 1.3.0-alpha11 to 1.3.0-alpha12.
- [Release notes](https://github.com/qos-ch/logback/releases)
- [Commits](https://github.com/qos-ch/logback/compare/v_1.3.0-alpha11...v_1.3.0-alpha12)

---
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>
2021-12-23 20:33:52 +00:00