Commit Graph

25092 Commits

Author SHA1 Message Date
dependabot[bot] 3dcb768e1a
Merge pull request #10638 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-javadoc-plugin-3.6.0 2023-10-01 05:55:14 +00:00
dependabot[bot] fa90efb0e7
Merge pull request #10635 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.mina-mina-core-2.2.3 2023-10-01 05:54:59 +00:00
dependabot[bot] 8a5bbe5c76
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.0
Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.5.0...maven-javadoc-plugin-3.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 00:32:32 +00:00
dependabot[bot] 270d56ccb1
Bump org.apache.mina:mina-core from 2.2.2 to 2.2.3
Bumps [org.apache.mina:mina-core](https://github.com/apache/mina) from 2.2.2 to 2.2.3.
- [Commits](https://github.com/apache/mina/compare/2.2.2...2.2.3)

---
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-10-01 00:31:00 +00:00
Joakim Erdfelt 1e1bc5adff
Issue #10606 - Bump build to JDK 21 (#10607)
* Issue #10606 - Bump build to JDK 21
* Fix tests that fail on JDK 21
* better use of `@EnabledForJreRange`
* Disable JAASLdapLoginServiceTest on JDK 20+ via maven profile

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-28 16:19:36 -05:00
Joakim Erdfelt 551ad8bba0
Issue #10473 - Better warnings in `jetty.sh` on filesystem permission issues (#10605)
* Issue #10473 - Better warnings in jetty.sh on filesystem permission issues

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-09-28 10:24:33 -05:00
Simone Bordet 07f320ab6a
Fixes #10547 - Cannot customize Executor on WebSocketClient. (#10589)
The HttpClient and WebSocketComponents will now try to share as many components as possible.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-28 11:32:53 +02:00
Olivier Lamy e76ce45ad7
upgrade commons-compress to 1.24.0 (#10588)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-09-27 13:31:18 +02:00
Lachlan 467052975e
improve testing of http2 client and refine default config (#10580)
* improve testing of http2 client and refine default config
* improve testing in HTTP2Test for hpack

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-09-27 09:57:06 +10:00
Joakim Erdfelt cc8f976d0c
Issue #10473 - Revert jetty.sh pgrep, and update started checks (#10501)
* Revert pgrep usage in jetty.sh
* Adding test for jetty.conf
* Correcting renamed xml file
* Improved started check
+ Improved `started` function code
  - adding comment explaining steps
  - adding named parameters
+ Improved ARGS check for "jetty.state="
  option, to know when to check the
  state file.
* Make sure state.mod is before any deploy steps to ensure jetty-state file is created early.
* Early cleanup / creation of State file
* Improved `started` function
+ Don't attempt to read from State File
  if it doesn't exist
+ Don't attempt to read from PID File
  if it doesn't exist
+ DEBUG in state file logic
+ DEBUG in pid file logic
+ proper startsWith logic for state detection
* Better state debugging and pid kill

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-09-26 16:48:33 -05:00
Ludovic Orban b5124fd7c9 handle review comments
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-09-26 18:16:23 +02:00
Ludovic Orban 0928204db7 allow configuring a custom ScheduledExecutorService into ScheduledExecutorScheduler
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-09-26 18:16:23 +02:00
Ludovic Orban 842bbe7fcb
#10557 upgrade quiche to version 0.18.0 (#10570)
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-09-25 10:11:56 -05:00
Joakim Erdfelt 50a1b31a8a
Issue #10547 - Allow Executor of WebSocketClient to be customized via HttpClient (#10548)
* Issue #10547 - Allow Executor of WebSocketClient to be customized via HttpClient

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-09-22 07:08:50 -05:00
Joakim Erdfelt 43eb08b146
Backport #10540 to `jetty-10.0.x` Fixed deadlock in class initialization. (#10545)
* Fixed deadlock in class initialization. (#10540)

* Thread T1 may initialize HttpTester.Message that extends MutableHttpFields, so grabs the lock for the initialization of class MutableHttpFields.
* Thread T2 may initialize HttpFields, so grabs the lock for HttpFields and initializes field EMPTY, which calls new MutableHttpFields.
* To initialize MutableHttpFields, T1 must initialize HttpFields, but sees that its lock is taken and waits.
* To initialize HttpFields, T2 must create an instance and therefore initialize MutableHttpFields, but sees that its lock is taken and waits.
* Deadlock.

The solution is to use another class, EmptyHttpFields, to initialize HttpFields.EMPTY, so that there is no deadlock.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-18 13:00:11 -05:00
Greg Wilkins 3c76f82594
Allow session idle timeout to be configured on authentication. (#10511)
Allow session idle timeout to be configured on authentication.

Signed-off-by: gregw <gregw@webtide.com>
2023-09-18 15:53:35 +10:00
Joakim Erdfelt fd88723cad
Cleanup of start properties usages in `jetty-10.0.x` (#10365)
* Cleanup start properties usages

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-09-15 09:59:06 -05:00
Olivier Lamy 000a55f78f
upgrade to bouncycastle 1.76 (#10512)
* upgrade to bouncycastle 1.76

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

* fix artifact names

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

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-09-15 02:16:41 +02:00
Joakim Erdfelt d7d203d869
Merge pull request #10521 from eclipse/fix/10.0.x/cve-numbers
Fixing CVE number for CGI servlet deprecation (10.0.x)
2023-09-14 16:39:48 -05:00
Joakim Erdfelt 96d4d45541
Fixing CVE number for CGI servlet deprecation 2023-09-14 14:26:02 -05:00
Joakim Erdfelt 52c9dcaee6
Updating jetty-10.0.x VERSION.txt from changes in jetty-9.4.x (#10518)
* Updating jetty-10.0.x VERSION.txt from changes in jetty-9.4.x
* Making CVE references consistent
2023-09-14 19:31:09 +02:00
Joakim Erdfelt b9cd3216f7
Updating 10.x entries (#10515) 2023-09-14 18:40:52 +02:00
dependabot[bot] 08ab9e1629
Merge pull request #10488 from eclipse/dependabot/maven/jetty-10.0.x/org.infinispan.protostream-protostream-4.6.5.Final 2023-09-07 00:38:43 +00:00
dependabot[bot] bb84d6591a
Merge pull request #10487 from eclipse/dependabot/maven/jetty-10.0.x/pax.exam.version-4.13.5 2023-09-07 00:38:27 +00:00
dependabot[bot] 97ae51ee28
Bump org.infinispan.protostream:protostream
Bumps [org.infinispan.protostream:protostream](https://github.com/infinispan/protostream) from 4.6.4.Final to 4.6.5.Final.
- [Release notes](https://github.com/infinispan/protostream/releases)
- [Commits](https://github.com/infinispan/protostream/compare/4.6.4.Final...4.6.5.Final)

---
updated-dependencies:
- dependency-name: org.infinispan.protostream:protostream
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 21:19:57 +00:00
dependabot[bot] a9711042a1
Bump pax.exam.version from 4.13.1 to 4.13.5
Bumps `pax.exam.version` from 4.13.1 to 4.13.5.

Updates `org.ops4j.pax.exam:pax-exam` from 4.13.1 to 4.13.5

Updates `org.ops4j.pax.exam:pax-exam-inject` from 4.13.1 to 4.13.5

Updates `org.ops4j.pax.exam:pax-exam-container-forked` from 4.13.1 to 4.13.5

Updates `org.ops4j.pax.exam:pax-exam-junit4` from 4.13.1 to 4.13.5

Updates `org.ops4j.pax.exam:pax-exam-link-mvn` from 4.13.1 to 4.13.5

---
updated-dependencies:
- dependency-name: org.ops4j.pax.exam:pax-exam
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.ops4j.pax.exam:pax-exam-inject
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.ops4j.pax.exam:pax-exam-container-forked
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.ops4j.pax.exam:pax-exam-junit4
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.ops4j.pax.exam:pax-exam-link-mvn
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 21:19:40 +00:00
dependabot[bot] 3f4523fa7b
Merge pull request #10454 from eclipse/dependabot/maven/jetty-10.0.x/pax.url.version-2.6.14 2023-09-03 21:02:33 +00:00
Olivier Lamy f4c587c36f
exclude banned dependencies
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-09-03 21:10:41 +10:00
dependabot[bot] f4dc2661b1
Bump pax.url.version from 2.6.2 to 2.6.14
Bumps `pax.url.version` from 2.6.2 to 2.6.14.

Updates `org.ops4j.pax.url:pax-url-aether` from 2.6.2 to 2.6.14
- [Commits](https://github.com/ops4j/org.ops4j.pax.url/compare/url-2.6.2...url-2.6.14)

Updates `org.ops4j.pax.url:pax-url-wrap` from 2.6.2 to 2.6.14
- [Commits](https://github.com/ops4j/org.ops4j.pax.url/compare/url-2.6.2...url-2.6.14)

---
updated-dependencies:
- dependency-name: org.ops4j.pax.url:pax-url-aether
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.ops4j.pax.url:pax-url-wrap
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-03 05:47:24 +00:00
dependabot[bot] b5fb0bcbe0
Merge pull request #10453 from eclipse/dependabot/maven/jetty-10.0.x/org.wildfly.security-wildfly-elytron-2.2.2.Final 2023-09-03 05:44:51 +00:00
dependabot[bot] 3d014a418e
Merge pull request #10452 from eclipse/dependabot/maven/jetty-10.0.x/apache.directory.api.version-2.1.4 2023-09-03 05:44:36 +00:00
dependabot[bot] dc52d86ef1
Merge pull request #10451 from eclipse/dependabot/maven/jetty-10.0.x/org.infinispan.protostream-protostream-4.6.4.Final 2023-09-03 05:44:13 +00:00
dependabot[bot] 0c7ccff44d
Bump org.wildfly.security:wildfly-elytron
Bumps [org.wildfly.security:wildfly-elytron](https://github.com/wildfly-security/wildfly-elytron) from 2.2.1.Final to 2.2.2.Final.
- [Commits](https://github.com/wildfly-security/wildfly-elytron/compare/2.2.1.Final...2.2.2.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-09-01 00:41:35 +00:00
dependabot[bot] fe8267addf
Bump apache.directory.api.version from 2.1.3 to 2.1.4
Bumps `apache.directory.api.version` from 2.1.3 to 2.1.4.

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

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

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

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

---
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-09-01 00:38:54 +00:00
dependabot[bot] 2ba61d6a83
Bump org.infinispan.protostream:protostream
Bumps [org.infinispan.protostream:protostream](https://github.com/infinispan/protostream) from 4.6.2.Final to 4.6.4.Final.
- [Release notes](https://github.com/infinispan/protostream/releases)
- [Commits](https://github.com/infinispan/protostream/compare/4.6.2.Final...4.6.4.Final)

---
updated-dependencies:
- dependency-name: org.infinispan.protostream:protostream
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 00:37:58 +00:00
Joakim Erdfelt 5d2489a0e8
Merge pull request #10446 from eclipse/release/10.0.16
Merge `release/10.0.16` into `jetty-10.0.x` HEAD
2023-08-31 15:12:12 -05:00
Ludovic Orban 1965a943f9 #9928 backport Request.beginNanoTime() from 12.0.x
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-08-31 09:25:54 +02:00
Joakim Erdfelt 896dee2466
Updating to version 10.0.17-SNAPSHOT 2023-08-25 14:27:38 -05:00
Joakim Erdfelt a2735a9ae9
Updating to version 10.0.16 2023-08-25 14:10:55 -05:00
Joakim Erdfelt 3a21a6fa01
Fixing release-jetty.sh script 2023-08-25 14:00:56 -05:00
Joakim Erdfelt 900f50f513
Issue #10271 - new jetty-home `pid` module (#10272)
* Issue #10271 - new jetty-home module `pid`

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-08-25 09:12:49 -05:00
Lachlan 38cea263cc
Merge pull request #10400 from eclipse/jetty-10.0.x-inetaccessHandler
Issue #10388 - fix InetAccessHandler module
2023-08-25 18:03:26 +10:00
Lachlan Roberts d6320c4494 fix checkstyle violation
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-25 15:37:40 +10:00
Greg Wilkins 3aaf39dff5
Fix #10397 CharsetStringBuilder end vs length (#10399)
Fix #10397 CharsetStringBuilder needs to convert length parameter to an end index.

Signed-off-by: gregw <gregw@webtide.com>
2023-08-25 14:50:53 +10:00
Lachlan Roberts b89398d91c Issue #10388 - add DistributionTest for InetAccessHandler
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-25 14:19:38 +10:00
Lachlan Roberts 764c8171bc Issue #10388 - fix InetAccessHandler module
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-25 13:53:24 +10:00
Simone Bordet 0411e1f19f
Removed unnecessary stale dependency on the javadoc artifact.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-24 19:49:27 +02:00
Olivier Lamy 2ea646bacd
Issue #10312 Remove cyclic dependencies between jetty-home and jetty-documentation. Add new module jetty-documentation (#10348)
* cleanup jetty home build extracting jetty-documentation
* Issue #10312 Remove cyclic dependencies between jetty-home and jetty-documentation

Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-08-24 19:41:17 +02:00
Lachlan c55363d43f
cleanups of DateCache (#10176)
* improve the formatting for precise ms in DateCache
* return original format string with DateCache.getFormatString
* calculate index in tick constructor because format strings can be different size
* use two ticks so that switching between seconds is less likely going to have cache miss
* use boolean instead of index to denote if sub second is needed
* remove formatWithoutCache and replace with doFormat as it doesn't work with sub second time
* allow the option of not having sub second precision
* use two separate formatters for the prefix/suffix around the SSS format code
* use a simple class to store both ticks in DateCache
* rename DateCache.Tick.getString(long) to format()

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-24 18:43:46 +02:00
Simone Bordet 3a85b66ee4
Updated JaCoCo to 0.8.10 to support Java 21.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-24 18:36:29 +02:00