Commit Graph

502 Commits

Author SHA1 Message Date
Simone Bordet 8c943c4bfb Issue #12256 - Configuring Virtual Thread executor in Jetty Http client makes my Spring Boot app freeze
* Defaulted the number of selectors to 1 in HttpClientTransportOverHTTP, to align with ClientConnector.
* Improved virtual thread documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-09-16 11:01:06 +03:00
Olivier Lamy 65e9bba44c
next snapshot
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-09-03 21:44:43 +10:00
Olivier Lamy 816018a420
Updating to version 12.0.13 2024-09-03 13:03:43 +10:00
Simone Bordet b13f3ccc15 Documented Jetty versions and compatibilities, and code deprecation policy.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 12:31:10 +03:00
Simone Bordet 21f2f2acea
Fixes #3553 - Support sslSession() in Jetty Client. (#12179)
Implemented Connection.getSslSessionData(), where the Connection can be obtained from the Request:
request.getConnection().getSslSessionData().

Updated documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-26 11:10:04 +02:00
Simone Bordet 0644aaf88c
Fixes #12154 - Limit concurrent virtual threads. (#12155)
Updated VirtualThreadPool to limit the number of concurrent virtual threads using a Semaphore.

Updated modules and documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-21 10:44:20 +02:00
Simone Bordet 942e77c3c5
Fixes #6514 - How to warm up SslConnection. (#12151)
Implemented "priming" of HTTP/1.1 connections using ConnectionPool.preCreateConnections(int) and HttpClientTransportOverHTTP.setInitializeConnections(true).

This sends `OPTIONS * HTTP/1.1` to the server.

I tried to implement this feature by forcing a write of 0 bytes from the layer above `SslConnection`, but it did not work when using TLS because in both WriteFlusher and SslConnection the fact that there are 0 bytes left to write is treated specially.

Other HTTP versions have no problems because they must initialize the connection by e.g. sending a SETTINGS frame, so they would also initialize TLS.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-20 10:19:32 +02:00
Simone Bordet cc2cef1732 Fixes #12158 - Jetty12 migration help.
Updated documentation with section about migration of Handler code from Jetty 11 to Jetty 12.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-13 17:15:06 +03:00
Dan Allen 8277051776
simplify configuration for Antora Collector (#12152)
- use shortform value when applicable
- rename base key to into
2024-08-12 18:16:22 +10:00
Simone Bordet fe6b14b8fb
Made documentation modules more friendly to IDE.
Now the code examples is a packaging=jar module and it's not under a profile.
The extra execution to compile the code examples is not necessary anymore.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-04 14:48:22 +02:00
Simone Bordet e1d03b4c68 Now the documentation has been migrated to Antora, so there is no need for the Java Asciidoctor plugin, and the directories that previously held the documentation using the Asciidoctor Maven plugin.
Renamed the `version` attribute to `jetty-version`, and now using the POM value, rather than a hard-coded one.

Removed references to Asciidoctor from the main POM.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-03 18:08:17 +03:00
Simone Bordet 84d0574ab6
Fixes #12120 - Introduce properties for cipher suites. (#12126)
Added documentation for advanced TLS configuration.

Updated the javadoc-url attribute to the new javadocs URI.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-02 15:18:35 +02:00
Simone Bordet 87324a70b6
Fixes #11926 - Authority Customizer. (#12066)
Fixes #11926 - Authority Customizer.

Introduced AuthorityCustomizer to synthesize the authority from the Host header (or serverName:serverPort), and related documentation.

Removed additional check on authority's host in `HttpCompliance`, as it was too strict and in the wrong place (authority checks should be factored out elsewhere for all HTTP protocol versions).

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-07-30 16:52:55 +02:00
Joakim Erdfelt d3af12957b
Updating to version 12.0.13-SNAPSHOT 2024-07-25 17:23:21 -05:00
Joakim Erdfelt cc6f1b74db
Updating to version 12.0.12 2024-07-25 16:57:59 -05:00
Olivier Lamy 81a16869af
skip deployment of jetty-documentation
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-07-26 07:31:13 +10:00
Greg Wilkins 46204a86ff
Jetty 12.0.x resource Servlet (#11933)
Introduce ResourceServlet
* Split DefaultServlet into ResourceServlet
* Added tests for Resource and Default Servlet
* Improved documentation of the ResourceServlet
* Fixed the documentation
2024-07-10 09:05:56 +10:00
Joakim Erdfelt 803fe5c86b
Fixing section references to fix antora warning about duplicate IDs 2024-07-08 11:13:15 -05:00
Joakim Erdfelt 347da8ed7b
Merge remote-tracking branch 'origin/release/12.0.11' into jetty-12.0.x 2024-07-03 18:35:02 -05:00
Jan Bartel 05a0498627
Update deployment documentation for new features (#11997) 2024-07-03 05:57:43 +02:00
Joakim Erdfelt f5abe07ade
Updating to version 12.0.12-SNAPSHOT 2024-06-27 19:09:24 -05:00
Joakim Erdfelt 9f90cedce3
Updating to version 12.0.11 2024-06-27 18:42:08 -05:00
Ludovic Orban 6d0bddc07a
#11932 make succeeded and failed in ICB final + introduce onSuccess
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-06-27 11:46:18 +02:00
Joakim Erdfelt b15cfd125d
Update URLs for new jetty locations 2024-06-21 13:33:46 -05:00
Joakim Erdfelt aac0353092
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2024-06-21 13:30:06 -05:00
Joakim Erdfelt 3d7f6d8dc5
Update URLs for new jetty locations 2024-06-21 11:38:22 -05:00
Joakim Erdfelt aa723a2cdc
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2024-06-21 07:00:39 -05:00
Joakim Erdfelt 35903ae262
Update github URL references to new location 2024-06-20 09:43:05 -05:00
Joakim Erdfelt 6bebb2ddd2
Update URL references to jetty.org 2024-06-20 09:41:42 -05:00
Jan Bartel 619c539af3
Issue #11911 Fix documentation example for Request.getHttpUri (#11916)
* Issue #11911 Fix documentation example for Request.getHttpUri
2024-06-14 11:18:31 +02:00
Jan Bartel 45562b012a
Issue #11893 fix maven helloworld example (#11896) 2024-06-11 01:53:19 +02:00
Joakim Erdfelt 8b506b4f28
Merge remote-tracking branch 'origin/release/12.0.10' into jetty-12.0.x 2024-06-04 11:39:43 -05:00
Joakim Erdfelt 3776b6c9c6
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2024-06-04 10:47:45 -05:00
Joakim Erdfelt 5d4c778ee2
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2024-06-04 10:44:24 -05:00
Jesse McConnell 08124fb38c
Update index.adoc
add version to the title to resolve jetty/jetty.website#33
2024-06-02 10:03:08 -05:00
Olivier Lamy fb1697fd07
Updating to version 12.0.11-SNAPSHOT 2024-05-30 15:23:16 +10:00
Olivier Lamy 26106dfc84
Updating to version 12.0.10 2024-05-30 14:39:40 +10:00
Lachlan bc03176224
Issue #11745 - fix the environment var for the GAE Instance in id-manager.xml (#11797)
* Issue #11745 - fix the environment var for the GAE Instance in id-manager.xml

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-05-28 03:54:59 +02:00
Olivier Lamy e4a89074f7 fix parent version
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-05-27 03:19:34 +02:00
Olivier Lamy f6ac9c4d55 Updating to version 11.0.22-SNAPSHOT 2024-05-27 03:19:34 +02:00
Olivier Lamy c5af9e265b Updating to version 11.0.21 2024-05-27 03:19:34 +02:00
Olivier Lamy 81ef1d2fb6 fix parent version
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-05-27 03:11:27 +02:00
Olivier Lamy 193cd0e995 Updating to version 10.0.22-SNAPSHOT 2024-05-27 03:11:27 +02:00
Olivier Lamy 7cbe89a433 Updating to version 10.0.21 2024-05-27 03:11:27 +02:00
Olivier Lamy b16460252f
Disable cache antora as it looks to have some bugs with forking lifecycle (#11835)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-05-23 23:31:30 +02:00
Dan Allen 00f322f092 migrate documentation to Antora 2024-05-21 00:37:51 +02:00
Dan Allen 3c6379b496 migrate documentation to Antora 2024-05-21 00:27:16 +02:00
Dan Allen f3bc547622 migrate documentation to Antora 2024-05-21 00:20:07 +02:00
Simone Bordet a4c297011b
Fixes #11072 - Jetty 12: CompleteCallbackHandler (#11786)
Introduced StateTrackingHandler.

StateTrackingHandler is a troubleshooting Handler that helps to identify those cases where the Handler/Request/Response APIs are used improperly.

In particular, it tracks the events described in StateTrackingHandler.Listener, such as the Handler callback not completed, or blocking demand callback, or a write callback not completed, etc.

It also provides dump() capabilities, so the current requests and their state is dumped to help troubleshooting.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-05-19 19:32:37 +02:00
Simone Bordet 66b13d5df1
Updated XML example to use ${project.basedir} instead of ${basedir}.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-05-16 19:04:48 +02:00