Commit Graph

28250 Commits

Author SHA1 Message Date
Simone Bordet af90b35ee7
Moved class `Flags` from `http2.internal` back to `http2` to be used publicly.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-16 12:09:33 +02:00
Simone Bordet 69e2f10521
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-16 12:01:43 +02:00
Simone Bordet d1392e9509
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-15 15:32:09 +02:00
Simone Bordet 7352653440
Merged branch 'jpstotz:getter' into 'jetty-10.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-15 15:31:15 +02:00
Simone Bordet e997f48842
Added javadocs to HeaderParser.getFlags() and hasFlag().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-15 15:29:06 +02:00
Jesse McConnell 5e811d9af0
Fixes #10107 (#10109)
Signed-off-by: Jesse McConnell <jesse.mcconnell@gmail.com>
2023-07-15 15:18:55 +02:00
Joakim Erdfelt 8e52abe8c9
Merge `jetty-11.0.x` into `jetty-12.0.x` - July 14 (#10108)
* Updating various old/moved URL references found across project (`jetty-10.0.x`) (#10098)

+ Now that the migration of `https://eclipse.org/jetty/` to `https://eclipse.dev/jetty/` has occurred, it is time to review the URI use in our project
+ Updated URLs in poms
+ Added more URIs to XmlConfiguration
+ Updated URLs in module files
+ Updated URLs in documentation
+ Updated URLs in HTML
+ Correcting bad double-scheme URLs (eg: `http://https://www.eclipse...`)
+ Updating text in *.mod files
+ Removing `/current/` from path `/jetty/documentation/current/`
+ Fixing mailing list URL
+ Fixing github URL references in jsps

---------

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-07-14 20:21:11 -05:00
Jesse McConnell 7cd1178b3c Fixes #10107 (#10109)
Signed-off-by: Jesse McConnell <jesse.mcconnell@gmail.com>
2023-07-14 13:43:40 -05:00
Simone Bordet e90bccb158
Merge branch 'jetty-10.0.x' into getter 2023-07-14 20:07:50 +02:00
Joakim Erdfelt 8e5bedcf8f
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-07-14 12:48:56 -05:00
Joakim Erdfelt a9c596e3d7
Updating various old/moved URL references found across project (`jetty-10.0.x`) (#10098)
* Now that the migration of `https://eclipse.org/jetty/` to `https://eclipse.dev/jetty/` has occurred, it is time to review the URI use in our project

+ Updated URLs in poms
+ Added more URIs to XmlConfiguration
+ Updated URLs in module files
+ Updated URLs in documentation
+ Updated URLs in HTML
+ Correcting bad double-scheme URLs (eg: `http://https://www.eclipse...`)
+ Updating text in *.mod files
+ Removing `/current/` from path `/jetty/documentation/current/`
+ Fixing mailing list URL

---------

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-07-14 12:38:45 -05:00
Simone Bordet 9a476e2c0c
Small changes from #10090.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-14 18:09:35 +02:00
Simone Bordet 0879f6bc85
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-14 17:49:07 +02:00
Simone Bordet f06ff2f9fa
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-14 17:10:39 +02:00
Greg Wilkins 11d2a32eea
Fixes #9999 and #10055 - proper quoting for dry-run
Using "strong quoting" with the single quote character to quote argument of --dry-run output.

Signed-off-by: gregw <gregw@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-14 17:05:41 +02:00
Ludovic Orban 248354f64a
Fixes #9910 - Inconsistent handling of welcome files
* Added DefaultServlet combinations tests.
* Removed pathInfoOnly handling present in Jetty 11, because it is always true for mapping to "/", and always false for other mappings.

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-07-14 11:58:21 +02:00
Lachlan a317a1892d
Merge pull request #10106 from eclipse/jetty-12.0.x-asyncServletTest
increase timeouts in AsyncServletTest to make it less flaky + re-enable tests
2023-07-14 16:37:38 +10:00
Lachlan 993a111805
Merge pull request #10071 from eclipse/jetty-12.0.x-sizeLimitHandler
add SizeLimitHandler to Jetty-12
2023-07-14 16:37:02 +10:00
Lachlan Roberts 887528e575 increase timeouts in AsyncServletTest to make it less flaky
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-07-14 11:27:35 +10:00
Simone Bordet 190af2972b
Fixes delivery of events to `Response.CompleteListener`s. (#10102)
In case of `request.onComplete(Response.CompleteListener l)`, only the complete event should be delivered to `l`, not all the events (in case `l` implements other listener interfaces).

Only `Response.CompleteListener` passed to `request.send(Response.CompleteListener)` should receive all events.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-13 15:12:47 +02:00
Simone Bordet a08e953c74
Fixes #10087 - Flaky EventsHandlerTest due to trailers. (#10093)
* Fixes #10087 - Flaky EventsHandlerTest due to trailers.

HTTP/2 trailers may arrive and be processed before the application reads request chunks.

Avoid the race condition by storing the trailers aside and returning them during reads.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-13 08:19:03 +02:00
Simone Bordet 8c9d6e4528
Started the work on the migration guide.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-13 08:04:25 +02:00
Joakim Erdfelt 730b1687f9
Merge pull request #10097 from eclipse/release/12.0.0.beta3
Merge `release/12.0.0.beta3` back into `jetty-12.0.x`
2023-07-12 13:13:11 -05:00
gregw c435bfdbe6 Extra test for #10085 2023-07-12 14:38:44 +02:00
Greg Wilkins 0ee0716d33
Various cleanups of StringUtil and TypeUtil (#10082)
* Various cleanups of StringUtil and TypeUtil

Removed deprecated and unused methods
Moved charset handling to MimeTypes
resolve IDE warnings

* updates from review
2023-07-12 10:31:28 +02:00
Simone Bordet bd80297f7e
* Fixed resource leak in `App` when reading the web application properties file.
* Small updates to the deploy documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-11 19:29:12 +02:00
Joakim Erdfelt c8fd1a198a
Issue #10084 - Directory results from `getResourcePaths(String)` should include trailing slash (#10085)
* Issue #10084 - Directory entries on return of getResourcePaths(String) should include trailing slash
* Issue #10084 - Fixing test case order of entries in collection expectation
* Issue #10084 - Implementing fix for ee9
* Issue #10084 - Fixing bug in ServletContext.getRealPath() impl
* Issue #10084 - Fixing tests in ee9 to make them compatible with ee8 conversion
* Bring Resource.getFileName in alignment with other JVM methods of the same name. (eg: Path.getFileName)
2023-07-11 11:39:23 -05:00
Simone Bordet e19ee8283b
Updated PostgreSQL version to most recent one.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-11 16:35:54 +02:00
Simone Bordet c05bfd020e
Using consistently --add-modules everywhere.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-11 12:35:29 +02:00
Simone Bordet 9567ade30f
* Updated README files.
* Updated the Getting Started sections.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-11 11:40:03 +02:00
Simone Bordet 0bab243389
Improved javadocs of Response.setTrailersSupplier().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-10 19:43:43 +02:00
Simone Bordet 4f3b4a092d
Avoid NPE when calling `getTotalKeys()` before `ManagedSelector` is started.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-10 19:43:13 +02:00
gregw 8d87a80410 Deflake test
better timeouts
2023-07-10 10:31:09 +02:00
Greg Wilkins 67f194a818
Improve javadoc of Violations for #9444 (#10079)
Improve javadoc of Violations for #9444
2023-07-10 10:03:06 +02:00
Joakim Erdfelt 4ebdce078f
Merge pull request #10083 from eclipse/fix/12.0.x/dependency-rollup-july-2023
Dependency Updates for `jetty-12.0.x` - July 2023
2023-07-08 07:04:52 -05:00
Jan Bartel e22fbbf175
Fix configuration replacement (#10081)
* Fix configuration replacement
2023-07-08 09:36:56 +02:00
Joakim Erdfelt 81bc6d719a
Bump ee10 jakarta.websocket to 2.1.1 2023-07-07 12:33:07 -05:00
Joakim Erdfelt fae110a759
Bump jboss-logging to 3.5.3.Final 2023-07-07 12:32:10 -05:00
Joakim Erdfelt 64fcf41fdd
Bump asciidoctorj to 2.5.10 2023-07-07 12:31:17 -05:00
Joakim Erdfelt ab0309a35e
Bump maven.deps.version to 3.9.0 2023-07-07 12:30:28 -05:00
Joakim Erdfelt 29e8618551
Bump grpc to 1.56.1 2023-07-07 12:29:51 -05:00
Joakim Erdfelt 814d794049
Bump commons-codec to 1.16.0 2023-07-07 12:29:25 -05:00
Joakim Erdfelt 3644189fca
Bump guice to 7.0.0 2023-07-07 12:28:55 -05:00
Joakim Erdfelt 2a3581e6cb
Bump guava to 32.1.1-jre 2023-07-07 12:28:37 -05:00
Joakim Erdfelt fc9e46bc39
Bump errorprone to 2.20.0 2023-07-07 12:28:07 -05:00
Joakim Erdfelt 26d16da847
Bump jackson to 2.15.2 2023-07-07 12:27:37 -05:00
Joakim Erdfelt f652cfddf9
Bump logback to 1.4.8 2023-07-07 12:27:11 -05:00
Joakim Erdfelt 97e39bcf58
Bump jimfs to 1.3.0 2023-07-07 12:26:26 -05:00
Joakim Erdfelt 0f677d11a1
Bump plexus-xml to 4.0.2 2023-07-07 12:25:00 -05:00
Lachlan Roberts 1c532e0db4 remove system.err.println used for debugging
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-07-07 19:47:15 +10:00