Simone Bordet
24c1140917
Fixes #8979 - Jetty 12 - HttpClientTransport network "modes". ( #11368 )
...
* Introduced oej.io.Transport as the abstraction for the low-level transport of high-level protocols.
Now protocols such as HTTP/1.1 or HTTP/2 can be transported over TCP, QUIC, Unix-Domain, memory, and possibly over other low-level custom protocols too.
* Introduced oej.client.Request.transport(Transport) to specify Transport for each request.
* Introduced Transport to [HTTP2Client|HTTP3Client].connect(...) methods.
* Introduced [Client|Server]QuicConfiguration so that it can be used in other Connectors such as MemoryConnector.
* Introduced oej.server.MemoryConnector and EndPoint.Pipe for memory communication between peers, along with a MemoryTransport.
* Introduced QuicTransport as a wrapper for other Transports, so that QUIC can now also be transported over memory.
* Improved javadocs and documentation.
* Removed usage of ClientConnector.forUnixDomain() from FastCGIProxyServlet (ee10 and ee9).
* Replaced usage of HTTP3ServerConnector with QuicServerConnector in jetty-http3.xml.
* Fixed handling of Instruction notifications in case of re-entrance.
Now first clear the list, then notify to avoid that when re-entering the same instruction is notified multiple times.
* Introduced ContentSourceRequestContent, and updated ProxyHandler to use it.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-02-26 17:24:24 +01:00
Joakim Erdfelt
bfac61cd89
Issue #11424 - Document default of `jetty.deploy.scanInterval` at `0` ( #11437 )
...
+ Update documentation and defaults in mod files
2024-02-22 14:25:01 -06:00
Simone Bordet
a683690678
Added documentation about `SslHandshakeListener`. ( #11383 )
...
* Added documentation about `SslHandshakeListener`.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-02-10 17:06:40 +01:00
Joakim Erdfelt
fcaa004389
Fixing contribution-guide links
2024-02-06 10:34:06 -06:00
Joakim Erdfelt
4d1b05ff97
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2024-02-06 10:24:26 -06:00
Joakim Erdfelt
721b1743cb
Correct contribution-guide documentation
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2024-02-06 10:24:01 -06:00
Simone Bordet
192294f9b9
Fixed javadocs links in documentation.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-02-06 15:33:42 +01:00
Joakim Erdfelt
82d9177f0c
Updating to version 12.0.7-SNAPSHOT
2024-01-29 21:04:51 -06:00
Joakim Erdfelt
78ab6e6ba1
Updating to version 12.0.6
2024-01-29 20:42:49 -06:00
Joakim Erdfelt
dd641b2736
Updating to version 11.0.21-SNAPSHOT
2024-01-29 15:17:40 -06:00
Joakim Erdfelt
922f8dc188
Updating to version 11.0.20
2024-01-29 15:03:56 -06:00
Joakim Erdfelt
a7d14d6874
Updating to version 10.0.21-SNAPSHOT
2024-01-29 14:58:51 -06:00
Joakim Erdfelt
3a745c71c2
Updating to version 10.0.20
2024-01-29 14:46:10 -06:00
Lachlan Roberts
aedafcff42
Issue #11329 - fix artifactIds in 11->12 migration guide
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-01-29 12:11:01 +11:00
Simone Bordet
b5d0fd6f2f
Fixes #11096 - IllegalAccessException when invoking WebSocket endpoint methods in Jetty 12 ( #11229 )
...
Changed `JettyWebSocketFrameHandlerFactory` to use an application MethodHandle.Lookup (rather than a server one) when creating listener metadata.
This fixes the JPMS problem so that now JPMS applications do not need any additional configuration to invoke endpoints.
The (acceptable) downside is that anonymous inner classes (that are not public) cannot be used as listener endpoints.
This change affects core and EE10 WebSocket; EE9 and EE8 WebSocket have not been fixed (so they allow anonymous inner classes but are broken in JPMS).
Renamed "connectLatch" fields to "openLatch" in test classes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Olivier Lamy <olamy@apache.org>
2024-01-25 16:40:48 +01:00
Simone Bordet
ce928e5ff1
Reorganized and refactored JettyHomeTester to introduce JPMSTester. ( #11228 )
...
* Renamed module "jetty-home-tester" to "jetty-testers".
* Moved JettyHomeTester to module jetty-testers.
* Introduced JPMSTester, refactoring common code with JettyHomeTester.
* Changed File-based APIs in favor of Path APIs.
* Introduced ProcessWrapper to simplify process forking.
* Refactored tests to follow refactoring changes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-24 18:56:27 +01:00
Simone Bordet
a9e564ad8c
Fixes #10220 - Implement CrossOriginHandler. ( #11093 )
...
Introduced CrossOriginHandler.
Added cross-origin Jetty module.
Added CrossOriginHandler documentation to the programming guide.
Added CrossOriginHandler documentation to the operations guide.
Added cross-origin headers to the HttpHeader enum.
Added test cases.
Deprecated ee10 CrossOriginFilter.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-12 09:57:21 +01:00
Joakim Erdfelt
2f3c9257d1
Results of: mvn spotless:apply
2024-01-03 10:40:38 -06:00
Simone Bordet
231d8deb8a
Fixes #10870 - How to set HttpConfiguration.securePort when the HTTPS port is dynamic?
...
Updated and expanded documentation.
Restored compilation of documentation Java sources.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-03 16:39:35 +01:00
Simone Bordet
4fca6781ce
Fixes #11213 - Improve programming guide WebSocket JPMS documentation
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-03 15:53:35 +01:00
Joakim Erdfelt
9a18dc8722
Results of: mvn spotless:apply
2024-01-03 03:12:56 -06:00
Joakim Erdfelt
96eea590ee
Updating to version 12.0.6-SNAPSHOT
2023-12-18 08:25:22 -06:00
Joakim Erdfelt
3aed62e495
Updating to version 12.0.5
2023-12-18 08:05:54 -06:00
Joakim Erdfelt
fd81c80194
Updating to version 11.0.20-SNAPSHOT
2023-12-15 15:09:03 -06:00
Joakim Erdfelt
f781e475c8
Updating to version 11.0.19
2023-12-15 14:54:13 -06:00
Joakim Erdfelt
c91e3fbc48
Updating to version 10.0.20-SNAPSHOT
2023-12-15 14:49:33 -06:00
Joakim Erdfelt
8492d1c78f
Updating to version 10.0.19
2023-12-15 14:38:06 -06:00
Lachlan
35af2d8984
Do not use HttpStream.Wrapper in SizeLimitHandler ( #11051 )
...
* Do not use HttpStream.Wrapper in SizeLimitHandler
* Updated the SizeLimitHandlerServletTest
* Udpated documentation and javadocs.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-12-15 15:11:57 +01:00
Jan Bartel
d926380651
Refactor eeX plus.security and plus.annotation classes to core ( #11030 )
...
* Refactor eeX plus.security and plus.annotation classes to core
2023-12-13 06:34:55 +01:00
Jan Bartel
7fc4b74a04
Jetty 12.0.x 10856 jndi doco ( #11028 )
...
* Update JNDI doc for jetty-12
2023-12-07 02:49:32 +01:00
Simone Bordet
8638d80bd5
Fixes #10277 - Review read failures impacting writes. ( #10948 )
...
* Separated read failures from write failures.
* In this way it is possible to read even if the write side is failed and write even if the read side is failed.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-12-06 21:48:47 +01:00
Joakim Erdfelt
8597033339
Updating to version 12.0.5-SNAPSHOT
2023-11-30 13:33:03 -06:00
Joakim Erdfelt
9b415c6424
Updating to version 12.0.4
2023-11-30 13:14:15 -06:00
Simone Bordet
0ca80b9d9a
Fixes #10484 - Clarify documentation about how to make a non-blocking… ( #10934 )
...
Added documentation about non-blocking Handlers.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-30 17:52:16 +01:00
Jan Bartel
03425a2bd5
Change
2023-11-29 19:13:12 +11:00
Jan Bartel
f6eac3ebbc
Issue #10925 More updates to jetty maven plugin documentation.
2023-11-29 18:53:58 +11:00
Simone Bordet
8c10ea8a9b
Fixes #10912 - Document Request listeners ( #10920 )
...
* Fixes #10912 - Document Request listeners
* Documented Request listeners and updated javadocs.
* Removed code in HttpChannelState.onIdleTimeout() that was automatically complete the Handler callback.
* Invoking failure listeners only once (although HttpChannelState.onFailure() may be called multiple times).
* Made sure that in ChannelCallback.succeeded() the last stream send uses the ChannelResponse as Callback, like it is done in Response.write().
* Moved Request listeners tests from various test classes into RequestListenersTest.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-28 12:56:17 +01:00
Greg Wilkins
7dcab84b91
Fix jetty 12.0.x transient timeouts ( #10844 )
...
Fixes #10234
* Introduced transient failures in reads where a failure chunk has last=false.
* Transient failure now do not fail the handler callback.
* Improve eeN ContentProducer to more carefully assert transient and terminal errors + enable HttpInputIntegrationTest
* Do not add connection: close to the response when the error is transient
* Rework ChunksContentSource to support null chunks
* Added tests to verify the new transient failure cases
* Review all code that handles failure, and handling correctly transient failure, either by making them fatal, and/or by failing Content.Source.
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
Co-authored-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Chad Wilson <chadw@thoughtworks.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-23 15:25:03 +01:00
Lachlan
ecb90e8d0f
Issue #10687 - WebSocket remembers mappings on restart ( #10773 )
...
* Clear websocket mappings on server stop
* Fix core WebSocketUpgradeHandler on restart
* Avoid usage of deprecated WebSocketUpgradeHandler.configure() method.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-20 17:09:56 +01:00
Simone Bordet
dc2eff5f42
Improved HTTP/3 documentation in the programming guide.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-11 15:48:39 +01:00
Simone Bordet
236061ea29
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-08 13:35:46 +01:00
Simone Bordet
be2b431ba6
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-08 13:08:01 +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
Hantsy Bai
3fa3e8aa3e
Update jetty-maven-plugin.adoc ( #10810 )
...
* Update jetty-maven-plugin.adoc
Update Jetty maven plugin for Jetty 12.
Co-authored-by: Jan Bartel <janb@webtide.com>
2023-11-07 06:36:44 +01:00
Olivier Lamy
91d11941b3
Jetty 12 merge from 11 and fix JAAS ldap login test ( #10857 )
...
* Merge from jetty-10.0.x to jetty-11.0.x
* Fixes #10812 - Correct awaitility dependency scope (#10813 )
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* Bump org.infinispan:infinispan-bom from 11.0.17.Final to 11.0.18.Final (#10724 )
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* not needed, bad merge
Signed-off-by: Olivier Lamy <olamy@apache.org>
* fix version
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: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Chad Wilson <chadw@thoughtworks.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 15:27:40 +11:00
Joakim Erdfelt
ab15891e5e
Merge remote-tracking branch 'origin/release/12.0.3' into jetty-12.0.x
2023-10-30 14:48:25 -05:00
Simone Bordet
2d88100a67
Improved Content.Source documentation.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-30 17:39:35 +01:00
Joakim Erdfelt
c01baac85c
Updating to version 12.0.4-SNAPSHOT
2023-10-26 22:47:29 -05:00
Joakim Erdfelt
a873259fd5
Updating to version 12.0.3
2023-10-26 22:24:43 -05:00
Joakim Erdfelt
1e2b356b80
Updating to version 11.0.19-SNAPSHOT
2023-10-26 21:24:54 -05:00