Commit Graph

25329 Commits

Author SHA1 Message Date
Ludovic Orban b77a8054a2 #9900 backport Accurate implementation of H3 Request.beginNanoTime()
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-11-27 15:31:25 +01:00
Ludovic Orban 65c8b58843 #9900 backport Accurate implementation of H2 Request.beginNanoTime()
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-11-27 15:30:56 +01:00
Simone Bordet f82844e2a2 Fixes #10891 - Support the "Partitioned" cookie attribute.
Added support in oej.http.HttpCookie.
Bridged support for Servlet cookies via the cookie Comment attribute.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-19 17:37:18 +01:00
Olivier Lamy af13a72978
use correct scm coordinates (#10876)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-11-18 01:49:30 +01:00
Simone Bordet a9878863aa
Improved Conscrypt documentation for the programming guide.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-08 13:04:04 +01:00
dependabot[bot] 8364b7a2f6
Bump apacheds.version from 2.0.0.AM26 to 2.0.0.AM27 (#10836)
* Bump apacheds.version from 2.0.0.AM26 to 2.0.0.AM27

Bumps `apacheds.version` from 2.0.0.AM26 to 2.0.0.AM27.

Updates `org.apache.directory.server:apacheds-test-framework` from 2.0.0.AM26 to 2.0.0.AM27
- [Commits](https://github.com/apache/directory-server/compare/2.0.0.AM26...2.0.0.AM27)

Updates `org.apache.directory.server:apacheds-server-integ` from 2.0.0.AM26 to 2.0.0.AM27
- [Commits](https://github.com/apache/directory-server/compare/2.0.0.AM26...2.0.0.AM27)

Updates `org.apache.directory.server:apacheds-core-integ` from 2.0.0.AM26 to 2.0.0.AM27
- [Commits](https://github.com/apache/directory-server/compare/2.0.0.AM26...2.0.0.AM27)

---
updated-dependencies:
- dependency-name: org.apache.directory.server:apacheds-test-framework
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.apache.directory.server:apacheds-server-integ
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.apache.directory.server:apacheds-core-integ
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* get this work

Signed-off-by: Olivier Lamy <olamy@apache.org>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Olivier Lamy <olamy@apache.org>
2023-11-05 21:48:29 +01:00
dependabot[bot] 14d976a538
Merge pull request #10842 from jetty/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-checkstyle-plugin-3.3.1 2023-11-01 10:33:57 +00:00
dependabot[bot] 0d8ee3ed46
Bump org.apache.maven.plugins:maven-checkstyle-plugin
Bumps [org.apache.maven.plugins:maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) from 3.3.0 to 3.3.1.
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.3.0...maven-checkstyle-plugin-3.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 08:11:25 +00:00
dependabot[bot] e9ae8e876f
Merge pull request #10837 from jetty/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-plugin-plugin-3.10.1 2023-11-01 08:10:10 +00:00
dependabot[bot] ae6a92e0a7
Merge pull request #10839 from jetty/dependabot/maven/jetty-10.0.x/maven.surefire.plugin.version-3.2.1 2023-11-01 08:09:46 +00:00
dependabot[bot] 571547234c
Merge pull request #10841 from jetty/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-dependency-plugin-3.6.1 2023-11-01 06:20:42 +00:00
dependabot[bot] d0a7718107
Bump maven.surefire.plugin.version from 3.1.2 to 3.2.1
Bumps `maven.surefire.plugin.version` from 3.1.2 to 3.2.1.

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

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

Updates `org.apache.maven.surefire:surefire-junit47` from 3.1.2 to 3.2.1

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 04:42:54 +00:00
dependabot[bot] 49c102b3a9
Merge pull request #10843 from jetty/dependabot/maven/jetty-10.0.x/commons-io-commons-io-2.15.0 2023-11-01 04:30:47 +00:00
dependabot[bot] 9a7ca3b092
Bump org.apache.maven.plugins:maven-plugin-plugin from 3.9.0 to 3.10.1
Bumps [org.apache.maven.plugins:maven-plugin-plugin](https://github.com/apache/maven-plugin-tools) from 3.9.0 to 3.10.1.
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.9.0...maven-plugin-tools-3.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 04:16:05 +00:00
dependabot[bot] 7d557110cf
Merge pull request #10840 from jetty/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-clean-plugin-3.3.2 2023-11-01 04:15:07 +00:00
dependabot[bot] 9f85a8aa81
Merge pull request #10838 from jetty/dependabot/maven/jetty-10.0.x/maven.plugin-tools.version-3.10.1 2023-11-01 04:14:46 +00:00
dependabot[bot] 498f784a4a
Merge pull request #10835 from jetty/dependabot/maven/jetty-10.0.x/org.apache.logging.log4j-log4j-api-2.21.1 2023-11-01 03:25:04 +00:00
dependabot[bot] 317e7a2c2a
Bump commons-io:commons-io from 2.14.0 to 2.15.0
Bumps commons-io:commons-io from 2.14.0 to 2.15.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-11-01 01:01:37 +00:00
dependabot[bot] 718d6bc57e
Bump org.apache.maven.plugins:maven-dependency-plugin
Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.6.0 to 3.6.1.
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.6.0...maven-dependency-plugin-3.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 00:59:49 +00:00
dependabot[bot] 7b5cc00ffd
Bump org.apache.maven.plugins:maven-clean-plugin from 3.3.1 to 3.3.2
Bumps [org.apache.maven.plugins:maven-clean-plugin](https://github.com/apache/maven-clean-plugin) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/apache/maven-clean-plugin/releases)
- [Commits](https://github.com/apache/maven-clean-plugin/compare/maven-clean-plugin-3.3.1...maven-clean-plugin-3.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 00:58:36 +00:00
dependabot[bot] 0f578ebf3f
Bump maven.plugin-tools.version from 3.9.0 to 3.10.1
Bumps `maven.plugin-tools.version` from 3.9.0 to 3.10.1.

Updates `org.apache.maven.plugin-tools:maven-plugin-annotations` from 3.9.0 to 3.10.1
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.9.0...maven-plugin-tools-3.10.1)

Updates `org.apache.maven.plugin-tools:maven-plugin-tools-api` from 3.9.0 to 3.10.1
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.9.0...maven-plugin-tools-3.10.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugin-tools:maven-plugin-annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.plugin-tools:maven-plugin-tools-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 00:56:50 +00:00
dependabot[bot] 3246178e8c
Bump org.apache.logging.log4j:log4j-api from 2.20.0 to 2.21.1
Bumps org.apache.logging.log4j:log4j-api from 2.20.0 to 2.21.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 00:55:18 +00:00
Chad Wilson 398054a813
Fixes #10812 - Correct awaitility dependency scope (#10813) 2023-10-31 17:48:56 +10:00
Joakim Erdfelt c50aa2f61b
Updating to version 10.0.19-SNAPSHOT 2023-10-26 21:10:08 -05:00
Joakim Erdfelt 8545fd9bf4
Updating to version 10.0.18 2023-10-26 20:59:27 -05:00
Simone Bordet 95804f6d19
Merge pull request #10795 from jetty/fix/jetty-10-10786-tls-handshake-scheduler-leak
Fixes #10786 - TLS handshake failures leak HttpConnection.RequestTime…
2023-10-26 16:52:23 +02:00
Simone Bordet fa166d09c5
Fixes #10786 - TLS handshake failures leak HttpConnection.RequestTimeouts tasks
Moved the call to destroy the CyclicTimeouts to a close() call that is always called.

Fixed NPE in ManagedSelector.getTotalKeys().

Fixed exception handling to avoid infinite recursion in SslConnection.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-26 16:49:52 +02:00
Joakim Erdfelt e98c0ae05d
Merge pull request #10791 from jetty/fix/10.0.x/jetty-sh-updates
Updates to jetty.sh and testing to reduce failures
2023-10-25 22:31:29 -05:00
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