Commit Graph

25452 Commits

Author SHA1 Message Date
Joakim Erdfelt 31b5518fe3
Updates to jetty.sh and testing to reduce failures
Backport of #10790 to Jetty 10.

+ Making sure /etc/default/jetty is populated correctly in the user_change mode
+ Removing warnings from jetty startup about --start-log-file=... being unrecognized
+ Adding unique jetty10 identifier to docker image names (helps to keep different jetty versions apart when manually testing)

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-10-25 20:20:50 -05:00
Joakim Erdfelt 92f62a10f9
Improve and test `jetty.sh` behaviors (#10753)
* Issue #10696 - Addressing start-stop-daemon behaviors in jetty.sh
* disable internal pid-file management of start-stop-daemon
* IssueDo not test for file system permissions if user is root, or process will switch to JETTY_USER
* Fixing bad UID / JETTY_USER condition
* Avoid FS test with setuid use as well
* Fixing stop behavior
* Adding jetty.sh docker testing

---------

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Olivier Lamy <olamy@apache.org>
2023-10-25 09:32:15 -05:00
Ludovic Orban 8b5deea657 #10519 do not close the flusher to avoid an ISE when iterating it during idle timeout
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-25 10:12:20 +02:00
Ludovic Orban a8a8c8b9eb #10519 check if the stream is still in a usable state when quiche_conn_stream_send returns QUICHE_ERR_DONE
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-25 10:12:20 +02:00
Ludovic Orban caf46b0b0b #10519 ignore IllegalStateException thrown by flusher when closing
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-25 10:12:20 +02:00
Lachlan 6e7fafaf85
Merge pull request #10755 from jetty/jetty-10.0.x-pushCacheFilter
deprecate PushCacheFilter
2023-10-25 16:32:32 +11:00
Joakim Erdfelt 8587cc9bef
More PushCacheFilter deprecation cleanup
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-10-24 09:34:48 -05:00
Lachlan Roberts 36d3377c23 remove usage of PushCacheFilter from demo-jetty-webapp
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-10-24 11:15:28 +11:00
Ludovic Orban 59105bef4d #10759 fix client setting MAX_FIELD_SECTION_SIZE to check its max value against H3 config setting maxRequestHeadersSize
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-20 17:14:37 +02:00
Simone Bordet 33e35df544
Removed TODO in ClientServerTest, adding a more explicative comment.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-20 16:36:04 +02:00
Ludovic Orban 8cfd20b164 #10537 make sure ByteBuffers given to feedClearBytesForStream() don't make JNA choke
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-20 12:18:31 +02:00
Lachlan Roberts a4b15b1a81 remove use of PushCacheFilter from Http2Server demo
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-10-19 19:57:48 +11:00
Lachlan Roberts a7a9ccce35 deprecate PushCacheFilter
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-10-19 13:15:47 +11:00
gregw 78f3b5c9fb Simplify the DosFilter for #1256
Use only IP tracking for the DosFilter.
Fix defaults

Signed-off-by: gregw <gregw@webtide.com>
2023-10-19 08:44:50 +11:00
Greg Wilkins 168d8715d4
Simplify the DosFilter for #1256 (#10748)
Use only IP tracking for the DosFilter to fix #1256

Signed-off-by: gregw <gregw@webtide.com>
2023-10-19 07:34:54 +11:00
Simone Bordet 8c94490e18
Fixes #10390 - jetty http3 client and nghttpx. (#10744)
Fixed handling of long settings values, so that they do not overflow. Added logging for GREASE cases.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-18 17:06:56 +02:00
Lachlan caddfb5a41
Merge pull request #10675 from OlexYarm/jetty-10.0.x
Fixed issue 10305 Embedded Jetty server fails to start when requests path contains not existed directory
2023-10-18 15:34:50 +11:00
Joakim Erdfelt 909e99ec37
Add configuration to allow deferring the initial Deployment until after Server is started (#10667)
* Delayed Deployment configuration until after Server is started.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-10-17 06:25:01 -05:00
Joakim Erdfelt 536a38aa8e
Address build/test failure against bad entities. (#10742)
Bad entities in test case can lead to:

* external URL references
* required HTTP GET requests
* not testing redirectEntity / resolveEntity
  (the whole point of the test)

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-10-17 03:48:28 +02:00
OlexYarm 4b6627ae0c Update RolloverFileOutputStreamTest.java
more simplification
2023-10-16 18:48:09 -04:00
OlexYarm 40a31b8394 Update RolloverFileOutputStreamTest.java
Simplified test class as suggested
2023-10-16 18:26:59 -04:00
Ludovic Orban f0060d9523 #10705 improve error message when no valid keystore can be found during startup
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-13 14:36:24 +02:00
Joakim Erdfelt 58a19b33c6
Merge pull request #10721 from jetty/dependabot/maven/jetty-10.0.x/org.testcontainers-testcontainers-bom-1.19.1
Bump org.testcontainers:testcontainers-bom from 1.19.0 to 1.19.1
2023-10-12 14:44:48 -05:00
Joakim Erdfelt 18b8475d60
Merge pull request #10723 from jetty/dependabot/maven/jetty-10.0.x/org.infinispan-infinispan-bom-11.0.18.Final
Bump org.infinispan:infinispan-bom from 11.0.17.Final to 11.0.18.Final
2023-10-12 14:44:35 -05:00
Joakim Erdfelt ab391e37be
Merge pull request #10720 from jetty/dependabot/maven/jetty-10.0.x/apache.directory.api.version-2.1.5
Bump apache.directory.api.version from 2.1.4 to 2.1.5
2023-10-12 14:20:17 -05:00
dependabot[bot] 1f1f6226b5
Bump apache.directory.api.version from 2.1.4 to 2.1.5
Bumps `apache.directory.api.version` from 2.1.4 to 2.1.5.

Updates `org.apache.directory.api:api-ldap-schema-data` from 2.1.4 to 2.1.5

Updates `org.apache.directory.api:api-ldap-model` from 2.1.4 to 2.1.5

Updates `org.apache.directory.api:api-util` from 2.1.4 to 2.1.5
- [Commits](https://github.com/apache/directory-ldap-api/compare/2.1.4...2.1.5)

Updates `org.apache.directory.api:api-asn1-api` from 2.1.4 to 2.1.5

---
updated-dependencies:
- dependency-name: org.apache.directory.api:api-ldap-schema-data
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.apache.directory.api:api-ldap-model
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.directory.api:api-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.directory.api:api-asn1-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 17:17:15 +00:00
dependabot[bot] ad544cde5c
Bump org.infinispan:infinispan-bom from 11.0.17.Final to 11.0.18.Final
Bumps [org.infinispan:infinispan-bom](https://github.com/infinispan/infinispan) from 11.0.17.Final to 11.0.18.Final.
- [Release notes](https://github.com/infinispan/infinispan/releases)
- [Changelog](https://github.com/infinispan/infinispan/blob/main/Jenkinsfile-release)
- [Commits](https://github.com/infinispan/infinispan/compare/11.0.17.Final...11.0.18.Final)

---
updated-dependencies:
- dependency-name: org.infinispan:infinispan-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 08:20:58 +00:00
dependabot[bot] ba499ea17b
Bump org.testcontainers:testcontainers-bom from 1.19.0 to 1.19.1
Bumps [org.testcontainers:testcontainers-bom](https://github.com/testcontainers/testcontainers-java) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.19.0...1.19.1)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 08:20:18 +00:00
Ludovic Orban d3aa35511d Updated GPG key
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-10 17:03:50 +02:00
Simone Bordet e1f0ea51b1
Merge pull request #10693 from eclipse/release/10.0.17
Merge `release/10.0.17` back to `jetty-10.0.x`
2023-10-10 16:52:20 +02:00
Joakim Erdfelt 5cff7930e5
Updating for CVEs 2023-10-10 07:37:58 -05:00
Joakim Erdfelt 722b97ad6a
Updating to version 10.0.18-SNAPSHOT 2023-10-09 13:32:28 -05:00
Joakim Erdfelt af15f12297
Updating to version 10.0.17 2023-10-09 13:21:53 -05:00
Joakim Erdfelt f8b7f48d56
Merge remote-tracking branch 'origin/fix/10.0.x/rollback-jdk21-requirement' into release/10.0.17 2023-10-09 13:13:32 -05:00
Simone Bordet 67b077847a
Issue #9777 - CrossOriginFilter does not return Vary header on no-cors mode.
Modified the fix introduced by #9779 to avoid usage of Jetty server classes, so that the CrossOriginFilter can be deployed in any web application.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-09 20:00:16 +02:00
Simone Bordet dbb94514dc
Fixes #10679 - Review HTTP/2 rate control. (#10681)
* Bumped the rate control rate from 50 events/s to 128.
* Added rate control for all CONTINUATION frames.
* Added rate control for invalid PUSH_PROMISE frames.
* Added rate control for RST_STREAM frames.
* Added rate control for all SETTINGS frames.
* Fixed growth of header block accumulation buffer.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-09 15:07:52 +02:00
OlexYarm c338c1a153 Fixed issue 10305 Embedded Jetty server fails to start when requests log path in RequestLogWriter contains not existed directory
Changed error message when requests log path in RequestLogWriter contains not existed directory.
2023-10-06 12:07:44 -04:00
Joakim Erdfelt 4670d3e35b
Rollback JDK21 requirements during Compile + Jar creation.
Only have JDK21 requirement for jetty-documentation in release script.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-10-06 07:09:35 -05:00
Olivier Lamy 90fdd4236d
Update details on how to include dependabot PRs in a release (#10659)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-10-05 02:12:23 +02:00
dependabot[bot] a22174cb76
Merge pull request #10632 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-enforcer-plugin-3.4.1 2023-10-01 11:00:22 +00:00
dependabot[bot] 9c012d1666
Merge pull request #10631 from eclipse/dependabot/maven/jetty-10.0.x/maven.resolver.version-1.9.16 2023-10-01 11:00:09 +00:00
dependabot[bot] 0d730aaeab
Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.4.0 to 3.4.1
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/apache/maven-enforcer/releases)
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.4.0...enforcer-3.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 08:27:40 +00:00
dependabot[bot] b5ecca2a5f
Bump maven.resolver.version from 1.9.15 to 1.9.16
Bumps `maven.resolver.version` from 1.9.15 to 1.9.16.

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

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

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

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

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

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

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

---
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-10-01 08:27:20 +00:00
dependabot[bot] d81386c1ae
Merge pull request #10634 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.avro-avro-1.11.3 2023-10-01 08:22:47 +00:00
dependabot[bot] 7c55a1c6af
Merge pull request #10633 from eclipse/dependabot/maven/jetty-10.0.x/asm.version-9.6 2023-10-01 08:22:29 +00:00
dependabot[bot] 3671da4b56
Bump org.apache.avro:avro from 1.11.2 to 1.11.3
Bumps org.apache.avro:avro from 1.11.2 to 1.11.3.

---
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-10-01 05:57:59 +00:00
dependabot[bot] 000d8eeeaa
Bump asm.version from 9.5 to 9.6
Bumps `asm.version` from 9.5 to 9.6.

Updates `org.ow2.asm:asm-commons` from 9.5 to 9.6

Updates `org.ow2.asm:asm-bom` from 9.5 to 9.6

Updates `org.ow2.asm:asm` from 9.5 to 9.6

Updates `org.ow2.asm:asm-tree` from 9.5 to 9.6

Updates `org.ow2.asm:asm-analysis` from 9.5 to 9.6

Updates `org.ow2.asm:asm-util` from 9.5 to 9.6

---
updated-dependencies:
- dependency-name: org.ow2.asm:asm-commons
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.ow2.asm:asm-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.ow2.asm:asm
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.ow2.asm:asm-tree
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.ow2.asm:asm-analysis
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.ow2.asm:asm-util
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 05:57:20 +00:00
dependabot[bot] 633c70a782
Merge pull request #10642 from eclipse/dependabot/maven/jetty-10.0.x/org.eclipse.tycho-tycho-p2-repository-plugin-4.0.3 2023-10-01 05:56:57 +00:00
dependabot[bot] 4c462408c9
Merge pull request #10641 from eclipse/dependabot/maven/jetty-10.0.x/org.jboss.threads-jboss-threads-3.5.1.Final 2023-10-01 05:56:41 +00:00
dependabot[bot] f2025fe725
Merge pull request #10640 from eclipse/dependabot/maven/jetty-10.0.x/org.eclipse.platform-org.eclipse.osgi-3.18.500 2023-10-01 05:56:25 +00:00