Commit Graph

376 Commits

Author SHA1 Message Date
Simone Bordet 13bb75e041
Ported the old FastCGI documentation to the new operations guide.
Removed the old HTTP/2 and JMX documentation (already present in the new documentation).

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-25 18:50:59 +02:00
Lachlan Roberts 829e2a19b7 Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-10-25 16:35:42 +11:00
Lachlan Roberts 20b1fc8c10 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-10-25 16:32:49 +11: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
gregw 524bde565e Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
# Conflicts:
#	jetty-ee10/jetty-ee10-servlets/src/test/java/org/eclipse/jetty/ee10/servlets/AbstractDoSFilterTest.java
#	jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java
2023-10-19 09:24:30 +11:00
gregw 5e820ca144 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
# Conflicts:
#	jetty-servlets/src/main/java/org/eclipse/jetty/servlets/DoSFilter.java
2023-10-19 09:03:28 +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
Olivier Lamy fcc88274a4
Jetty 12.0.x use automatic formatter for poms to have same style for every poms (#10578)
* apply spotless sort pom

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-10-12 03:51:36 +02:00
Joakim Erdfelt 6b3f760b80
Updating to version 12.0.3-SNAPSHOT 2023-10-09 21:16:46 -05:00
Joakim Erdfelt b01e3611cf
Updating to version 12.0.2 2023-10-09 20:59:14 -05:00
Joakim Erdfelt c8829f75bf
Updating to version 11.0.18-SNAPSHOT 2023-10-09 13:49:23 -05:00
Joakim Erdfelt 48e7716b94
Updating to version 11.0.17 2023-10-09 13:38:47 -05:00
Joakim Erdfelt 2f6add5677
Merge remote-tracking branch 'origin/fix/10.0.x/rollback-jdk21-requirement' into release/11.0.17 2023-10-09 13:34:05 -05:00
Joakim Erdfelt 722b97ad6a
Updating to version 10.0.18-SNAPSHOT 2023-10-09 13:32:28 -05:00
Joakim Erdfelt af15f12297
Updating to version 10.0.17 2023-10-09 13:21:53 -05:00
Joakim Erdfelt 4670d3e35b
Rollback JDK21 requirements during Compile + Jar creation.
Only have JDK21 requirement for jetty-documentation in release script.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-10-06 07:09:35 -05:00
Olivier Lamy ff25dd8948
fix failing fast profile (#10615)
* fix failing fast profile

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-10-03 17:20:12 +10:00
Simone Bordet 59d2ec5b83
Fixed documentation referencing `HttpChannel.Listener`.
Updated to reference `EventsHandler` instead.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-28 19:47:25 +02:00
Simone Bordet b238577faf
Added `Connection.Listener` documentation.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-28 17:24:10 +02:00
Lachlan aa880cff09
Issue #10513 - fix multipart lockup with HTTP/2 (#10554)
* Changes the H2 semantic of `Stream.readData()` so that it is `readData()` that enlarges the flow control window, and not anymore the release of the `Stream.Data`.
This allows applications to buffer in memory by retaining the `Stream.Data` instances more than the H2 flow control window.
* Updated `FlowControlStrategyTest` after `Stream.readData()` semantic changes.
* Updated `DataDemandTest` after `Stream.readData()` semantic changes.
* Updated documentation.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Co-authored-by: gregw <gregw@webtide.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
2023-09-28 11:47:32 +02:00
Joakim Erdfelt d53e69b822
Issue #10449 - Improve javadoc and jetty-documentation packaging (#10549)
* Issue #10449 - Improve jetty-documentation artifacts

+ -html.zip now has content
+ -javadoc.jar not produced locally
+ -source.jar not produced locally
+ attaching org.eclipse.jetty:javadoc:javadoc to jetty-documentation-<ver>-javadoc.jar instead

* Always run deploy:deploy

* Allow org.eclipse.jetty:javadoc:jar:javadoc to be found

* Don't skip asciidoctor on -DskipTests

* Bump javadoc plugin to 3.6.0

* Remove unused section

* Use proper phase

* Skip asciidoctor on -Pfast too

* Dump sources content in antrun (debugging codeql build)

* source:jar-no-fork is now default

* Revert "Dump sources content in antrun (debugging codeql build)"

This reverts commit 4bd9df1b1e.
2023-09-28 07:21:45 +02:00
Jan Bartel 0e79cc8cb3
Issue #10466 review session documentation. (#10497)
* Issue #10466 review session documentation.

Also fix session config context init param names and add missing code to
configure SessionHandler via context init params, and added test for
config.
2023-09-22 08:18:29 +02:00
Simone Bordet 3dd030ae61
Added WebSocket migration documentation, pointing to existing WebSock… (#10542)
* Added WebSocket migration documentation, pointing to existing WebSocket documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-20 21:20:06 +02:00
Simone Bordet d1a1663b39
Fixes #10324 - Improve migration from Servlets to Handler. (#10529)
* Using request.getLength() instead of looking up the Content-Length header.
* Jetty Handler vs Servlet pros.
* Using CompletableFuture (not Promise) in examples.
* Removed unused cruft from tests.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-20 21:15:20 +02:00
Simone Bordet 293bab9316
Small fix to migration guide documentation.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-15 15:45:23 +02:00
Simone Bordet 388d3e38fa
Fixes #10361 - Introduce QoSHandler (#10480)
* Introduced QoSHandler.
* Updated documentation, and removed old documentation.
* Now using dynamic max priority.
The current implementation retains priorities and queue as they are created, but hopefully the priority range is constrained.
* Better algorithm for resuming: rather than releasing a permit and try to acquire it again, keep the permit and resume a request.
This also removes the issue that a request could have been suspended again, therefore remaining suspended much more than maxSuspend.
* Deprecated QoSFilters in ee10 and ee9.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-14 15:46:12 +02:00
Simone Bordet 8684b0a67a
Introduced CompletableResponseListener (#10502)
Introduced CompletableResponseListener, a replacement for FutureResponseListener that uses better APIs based on CompletableFuture.

Deprecated FutureResponseListener and replaced its usages.

Updated documentation.

Added tests for zipped request content.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-14 15:33:51 +02:00
Simone Bordet 3e6fe97bea
Fixed wrong xrefs in the operations guide.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-02 17:21:16 +02:00
Simone Bordet ad23410e09
Ported documentation for the Password tool from old_docs to the operations guide.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-02 17:10:01 +02:00
Simone Bordet 3090314206
Fixed location of {jetty-home} attribute after recent refactorings.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-02 12:10:12 +02:00
Simone Bordet 84befe3957
* Fixed substitutions for [source] blocks.
* Fixed callouts in XML, using the comment syntax.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-02 11:48:27 +02:00
Simone Bordet 744146f36f
Fixed inclusion directive for threadpool-virtual.mod.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-01 19:51:16 +02:00
Simone Bordet 8cda599c29
Added short documentation section about HTTP session support.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-01 18:12:43 +02:00
Joakim Erdfelt 1d226403da
Updating to version 12.0.2-SNAPSHOT 2023-08-29 16:55:36 -05:00
Joakim Erdfelt 4768745849
Updating to version 12.0.1 2023-08-29 16:38:20 -05:00
Simone Bordet c638753b8d Fixes #10293 - Improve documentation on how to write a response body in Jetty 12.
Updated documentation about:
* Content.Source
* Content.Sink
* Handler
* Request/Response

Updated few APIs to make easier to write applications.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-29 22:07:42 +02:00
Greg Wilkins d3cd69be68
Fix #10411 default environment (#10415)
Implemented a simpler default environment algorithm where an application that does not specify an environment is always attempted in the default.

Updated documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-29 18:34:21 +02:00
Simone Bordet 5a8c5bc8c7
Fixes #10353 - Questions about porting WebSocket APIs to jetty-core 12 (#10354)
* Added direct WebSocket upgrade in the Jetty core WebSocket APIs.
* Updated the WebSocket documentation.
* Optimized WebSocketMappings.getMatchedNegotiator() to avoid allocating a lambda for every invocation.
* Cleaned up core.server.WebSocketUpgradeHandler.
* Expanded websocket docs to mention how the demand mechanism works.
* Fixed code examples with correct demand handling.
* Javadocs for api.Callback.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-28 17:46:12 +02:00
Simone Bordet 86c245d069
Fixes #10158 - Deploy Jetty context XML file needs environment
Updated the documentation; a better fix is coming with #10411.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-26 17:01:21 +02:00
Joakim Erdfelt cb8c4b6ab2
Updating to version 11.0.17-SNAPSHOT 2023-08-25 14:55:08 -05:00
Joakim Erdfelt bedff458c4
Updating to version 11.0.16 2023-08-25 14:43:04 -05: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
Simone Bordet 0eb4f1b7e3 Updated the documentation about HttpChannel events (they don't exist anymore replaced by `EventsHandler`).
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-25 12:44:48 +02:00
Lachlan 5c7a222697
Merge pull request #10313 from eclipse/jetty-12.0.x-10295-formAuthDispatch
Issue #10295 - implement EE10 FormAuthenticator with dispatch option
2023-08-25 16:14:40 +10:00
Simone Bordet 946b047cde
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-24 19:45:09 +02:00
Simone Bordet 5cc4a9da09
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-24 19:41:57 +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
Simone Bordet 4646ef50f9 Fixes #10327 - Jetty (embedded) rejected warning logs
Added documentation about the fact that the QTP queue should be unbounded.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-24 18:29:54 +02:00