Simone Bordet
df24485000
Various improvements to CyclicTimeouts. ( #9897 )
...
* Improved reset of the earliest timeout before iteration.
* Removed check for getExpireNanoTime() == -1, since it's a valid value.
* When onExpired(Expirable) returns false, the Expirable should arrange to move its timeout in the future.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-06-10 17:02:37 +02:00
Ludovic Orban
d5200c6c63
#9881 add thread-safety documentation
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-06-08 23:55:30 +02:00
Ludovic Orban
9547104163
#9881 handle review comments
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-06-08 23:55:30 +02:00
Ludovic Orban
b97090a6b4
#9881 manually maintain the size to avoid calling ConcurrentLinkedQueue.size()
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-06-08 23:55:30 +02:00
Olivier Lamy
a617784e8e
Remove duplicated classes from test session, fix some to be able to run in parallel and not restarting 3rd party for each tests ( #9782 )
...
---------
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-06-09 06:47:36 +10:00
Greg Wilkins
c2dc87c039
Jetty 12 #9630 dumpable context ( #9885 )
...
* Fix #9630 dumpable context
Added DumpableAttributes utility class
* fixed test format
* Updates from review
2023-06-08 21:14:04 +02:00
Jan Bartel
64b54adb9c
Remove unused ee10-demo-realm files and add distro test ( #9886 )
2023-06-08 18:54:10 +02:00
Jan Bartel
1bc1aacbe7
Fix redirect demo; fix links to sources for demos; fix blog link ( #9890 )
...
* Fix redirect demo; fix links to sources for demos; fix blog link
* Update jetty-home/src/main/resources/modules/demo.d/root/index.html
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
---------
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-06-08 18:24:08 +02:00
Jan Bartel
4ec7dc73f6
Jetty 12.0.x 9072 move core ee classes ( #9883 )
...
* Issue #9072 refactor jetty-ee module to remove it
* Remove old ee imports in module-info.javas
* Remove jetty-ee from deps
* Fix references to jetty-ee for osgi
* Update jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/Deployable.java
Co-authored-by: Greg Wilkins <gregw@webtide.com>
---------
Co-authored-by: Greg Wilkins <gregw@webtide.com>
2023-06-08 18:22:57 +02:00
Jan Bartel
c13c869e3d
Jetty 12.0.x 9760 fix cookie parsing ( #9894 )
...
* Add test to show failure
* Fix #9760 EE9 Cookies
Fix #9760 Only set path and domain if they are not blank
* Fix #9760 EE9 Cookies
Fix #9760 Only set path and domain if they are not blank
Switch on violation rather than type
* Handle legacy cookie version and comment
* Handle cookie version and comment
---------
Co-authored-by: gregw <gregw@webtide.com>
2023-06-08 18:20:39 +02:00
Simone Bordet
9330c1cedb
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-06-08 10:22:35 +02:00
Simone Bordet
9c17a2c8b2
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-06-08 10:21:05 +02:00
Simone Bordet
c29491e5ac
Fixes #9887 - Deprecate CGI Servlet. ( #9889 )
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-06-08 10:19:24 +02:00
Greg Wilkins
c0de62b2c6
Jetty 12 graceful contexts ( #9867 )
...
Removed all shutdown mechanisms from ContextHandler
Fixed GracefulHandler
---------
Signed-off-by: gregw <gregw@webtide.com>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
2023-06-07 21:05:49 +02:00
Jan Bartel
18a0738923
Issue #9879 re-enable and fix rewrite demo ( #9882 )
2023-06-07 19:13:44 +02:00
Greg Wilkins
a44a99ad9b
SetCookieHttpField #9173 ( #9789 )
...
Added utility methods and classes to allow for efficient interception of a Set-Cookie header in a HttpStream wrapper.
2023-06-07 13:50:19 +02:00
Simone Bordet
714d2a4ac9
Fixed Environment.Named.toString().
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-06-07 00:11:21 +02:00
Simone Bordet
4e6575b994
Fixes #8033 - Jetty-12 already completed exception in http2.tests.MaxConcurrentStreamsTest.
...
Fixed by the work done in #9684 .
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-06-06 20:31:35 +02:00
Ludovic Orban
4456f99de7
H3: release the buffer when the stream is closing
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-06-06 18:25:14 +02:00
Ludovic Orban
15d67bdf57
H3: disable using an IP(v4 or v6) address as the hostname as BoringSSL requires a SAN dns attribute for the IP addresses that keytool refuses to create
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-06-06 18:25:14 +02:00
Ludovic Orban
ea7369b769
H3: fix interim responses
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-06-06 18:25:14 +02:00
Simone Bordet
30a161d1da
Fixes #9880 - Jetty 12 - jetty.sh does not work on Ubuntu.
...
The problem was that when using environment the generation of the command line
via --dry-run was missing the "envs" argument.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-06-06 15:48:15 +02:00
Jan Bartel
6b362c03a9
Issue #9657 ( #9781 )
2023-06-06 11:06:48 +02:00
gregw
dfca108603
Update test
2023-06-06 09:33:27 +02:00
Ludovic Orban
c1f1a6018b
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2023-06-05 17:31:13 +02:00
Ludovic Orban
fc36c903c0
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2023-06-05 17:23:43 +02:00
Ludovic Orban
a471c08717
#9865 Account for Quiche's encoding variation when using client cert auth
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-06-05 16:50:21 +02:00
Simone Bordet
22641f1267
Fix/jetty 12 restore ee n fcgi ( #9796 )
...
* Restored ee9 FastCGIProxyServlet and TryFilesFilter.
* Restored ee10 FastCGIProxyServlet and TryFilesFilter.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-06-05 16:50:11 +02:00
Greg Wilkins
1c01a49149
Jetty 12 context initial ClassLoader ( #9866 )
...
* Ensure environment classloader in ContextHandler
* Set the initial classloader in ContextHandler
* WebAppContext uses initial classloader
2023-06-05 16:49:15 +02:00
Joakim Erdfelt
5b830a4466
Fixes #9795 - jetty-slf4j-impl is non-optional on some modules ( #9800 )
...
* jetty-slf4j-impl is non-optional on some modules
* Using appropriate slf4j impl depending on module.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-06-05 06:37:05 -05:00
Joakim Erdfelt
606b66bda5
Merge pull request #9824 from eclipse/dependabot/maven/jetty-11.0.x/maven.surefire.plugin.version-3.1.0
...
Bump maven.surefire.plugin.version from 3.0.0 to 3.1.0
2023-06-02 10:33:21 -05:00
Joakim Erdfelt
d625d6fb93
Merge pull request #9841 from eclipse/dependabot/maven/jetty-11.0.x/org.wildfly.security-wildfly-elytron-2.2.0.Final
...
Bump wildfly-elytron from 2.1.0.Final to 2.2.0.Final
2023-06-02 10:33:13 -05:00
Joakim Erdfelt
fd5d718c8d
Merge pull request #9846 from eclipse/dependabot/maven/jetty-11.0.x/org.apache.maven.plugins-maven-assembly-plugin-3.6.0
...
Bump maven-assembly-plugin from 3.5.0 to 3.6.0
2023-06-02 10:33:07 -05:00
Joakim Erdfelt
99fb05cbb1
Merge pull request #9848 from eclipse/dependabot/maven/jetty-11.0.x/org.apache.maven.plugins-maven-plugin-plugin-3.9.0
...
Bump maven-plugin-plugin from 3.8.2 to 3.9.0
2023-06-02 10:32:59 -05:00
Joakim Erdfelt
380cc8ade5
Merge pull request #9818 from eclipse/dependabot/maven/jetty-11.0.x/org.apache.maven.plugins-maven-remote-resources-plugin-3.1.0
...
Bump maven-remote-resources-plugin from 3.0.0 to 3.1.0
2023-06-02 10:32:53 -05:00
Joakim Erdfelt
209294daec
Merge pull request #9807 from eclipse/dependabot/maven/jetty-10.0.x/maven.surefire.plugin.version-3.1.0
...
Bump maven.surefire.plugin.version from 3.0.0 to 3.1.0
2023-06-02 10:32:16 -05:00
Joakim Erdfelt
0932b6e0b5
Merge pull request #9835 from eclipse/dependabot/maven/jetty-10.0.x/org.wildfly.security-wildfly-elytron-2.2.0.Final
...
Bump wildfly-elytron from 2.1.0.Final to 2.2.0.Final
2023-06-02 10:32:07 -05:00
Joakim Erdfelt
a1d4007295
Merge pull request #9845 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-gpg-plugin-3.1.0
...
Bump maven-gpg-plugin from 3.0.1 to 3.1.0
2023-06-02 09:17:53 -05:00
Joakim Erdfelt
0ecf2630c5
Merge pull request #9838 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-plugin-plugin-3.9.0
...
Bump maven-plugin-plugin from 3.8.2 to 3.9.0
2023-06-02 09:17:43 -05:00
Joakim Erdfelt
81ada03e73
Merge pull request #9833 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-assembly-plugin-3.6.0
...
Bump maven-assembly-plugin from 3.5.0 to 3.6.0
2023-06-02 09:17:33 -05:00
dependabot[bot]
5885312f73
Bump maven-plugin-plugin from 3.8.2 to 3.9.0
...
Bumps [maven-plugin-plugin](https://github.com/apache/maven-plugin-tools ) from 3.8.2 to 3.9.0.
- [Release notes](https://github.com/apache/maven-plugin-tools/releases )
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.8.2...maven-plugin-tools-3.9.0 )
---
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-06-02 13:56:15 +00:00
dependabot[bot]
480ab27a4a
Bump maven.surefire.plugin.version from 3.0.0 to 3.1.0
...
Bumps `maven.surefire.plugin.version` from 3.0.0 to 3.1.0.
Updates `maven-failsafe-plugin` from 3.0.0 to 3.1.0
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0...surefire-3.1.0 )
Updates `maven-surefire-plugin` from 3.0.0 to 3.1.0
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0...surefire-3.1.0 )
Updates `surefire-junit47` from 3.0.0 to 3.1.0
---
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-06-02 13:19:49 +00:00
dependabot[bot]
4cdbdcf0e4
Bump maven.surefire.plugin.version from 3.0.0 to 3.1.0
...
Bumps `maven.surefire.plugin.version` from 3.0.0 to 3.1.0.
Updates `maven-failsafe-plugin` from 3.0.0 to 3.1.0
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0...surefire-3.1.0 )
Updates `maven-surefire-plugin` from 3.0.0 to 3.1.0
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0...surefire-3.1.0 )
Updates `surefire-junit47` from 3.0.0 to 3.1.0
---
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-06-02 13:07:37 +00:00
dependabot[bot]
ee3c32d15e
Bump wildfly-elytron from 2.1.0.Final to 2.2.0.Final
...
Bumps [wildfly-elytron](https://github.com/wildfly-security/wildfly-elytron ) from 2.1.0.Final to 2.2.0.Final.
- [Commits](https://github.com/wildfly-security/wildfly-elytron/compare/2.1.0.Final...2.2.0.Final )
---
updated-dependencies:
- dependency-name: org.wildfly.security:wildfly-elytron
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-02 13:00:35 +00:00
Olivier Lamy
a8415e02bb
fix merge
...
Signed-off-by: Olivier Lamy <olamy@pop-os.localdomain>
2023-06-02 22:29:07 +10:00
Olivier Lamy
b434ecf068
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2023-06-02 22:26:05 +10:00
dependabot[bot]
ffe753dfd2
Merge pull request #9849 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-source-plugin-3.3.0
2023-06-02 12:18:24 +00:00
Olivier Lamy
db205d468e
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2023-06-02 22:13:24 +10:00
dependabot[bot]
f06e37a906
Merge pull request #9855 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-remote-resources-plugin-3.1.0
2023-06-02 12:12:21 +00:00
dependabot[bot]
aef76e60b2
Merge pull request #9859 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-checkstyle-plugin-3.3.0
2023-06-02 12:11:36 +00:00