Commit Graph

28889 Commits

Author SHA1 Message Date
Simone Bordet 7bc856b1a3
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-25 12:21:51 +02:00
Simone Bordet f12d568e0b
Improvements to the description section.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-25 12:19:09 +02:00
Simone Bordet 7d1bc5c400
Merge pull request #10778 from jetty/jetty-12.0.x-mergeOf10755
Merge of jetty-11.0.x into jetty-12.0.x
2023-10-25 12:15:12 +02:00
Ludovic Orban 0701286722
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-10-25 10:14:06 +02:00
Ludovic Orban 8b5deea657 #10519 do not close the flusher to avoid an ISE when iterating it during idle timeout
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-25 10:12:20 +02:00
Ludovic Orban a8a8c8b9eb #10519 check if the stream is still in a usable state when quiche_conn_stream_send returns QUICHE_ERR_DONE
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-25 10:12:20 +02:00
Ludovic Orban caf46b0b0b #10519 ignore IllegalStateException thrown by flusher when closing
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-25 10:12:20 +02:00
Lachlan Roberts d91905ca18 remove remaining references to PushCacheFilter
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-10-25 16:48:42 +11: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
Lachlan Roberts b97f158a2d Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-10-25 16:28:53 +11:00
Olivier Lamy 9da4668937
upgrade h2spec plugin to 1.0.11 and xhtml schema 1.2 (#10732)
* upgrade h2spec plugin to 1.0.11
* use xhtml schema 1.2

Signed-off-by: Olivier Lamy <olamy@apache.org>

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-10-24 23:01:16 +02:00
Joakim Erdfelt 33f80838ac
Fixes #10771 - EE10 ServletApi.isSecure() bug with ForwardedRequestCustomizer (#10772) 2023-10-24 11:59:55 -05: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
Lachlan Roberts 36d3377c23 remove usage of PushCacheFilter from demo-jetty-webapp
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-10-24 11:15:28 +11:00
Greg Wilkins 14152c425b
Better handling of Objects in JMX MetaData (#10762)
* Send attributes as Map<String,String>
* JMX-annotated ErrorHandler, fixed usage of showMessageInTitle and removed showServlet.
* JMX-annotated Request.Handler.
* Added JMX test module to test improvements to JMX.

Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-24 10:03:28 +11:00
Olivier Lamy 2940528033
awaitility must be only test dependency (#10765)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-10-21 19:16:54 +10:00
Ludovic Orban 59105bef4d #10759 fix client setting MAX_FIELD_SECTION_SIZE to check its max value against H3 config setting maxRequestHeadersSize
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-20 17:14:37 +02:00
Simone Bordet 33e35df544
Removed TODO in ClientServerTest, adding a more explicative comment.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-20 16:36:04 +02:00
Ludovic Orban 8cfd20b164 #10537 make sure ByteBuffers given to feedClearBytesForStream() don't make JNA choke
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-20 12:18:31 +02:00
Simone Bordet 2aba4117c2
Fixes #10477 - Jetty 12: Review MBeans for Handlers (#10754)
Updated base MBean class for o.e.j.server.Handler.
Also updated and modernized existing explicit MBean classes.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-19 23:48:51 +02:00
Lachlan Roberts a4b15b1a81 remove use of PushCacheFilter from Http2Server demo
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-10-19 19:57:48 +11:00
Jan Bartel 14a5ba3489
Issue #10661 Allow jetty api to override servlets and mappings from webdefault (#10668)
* Issue #10661 Allow jetty api to override servlets and mappings from webdefault

---------

Co-authored-by: Greg Wilkins <gregw@webtide.com>
2023-10-19 08:35:44 +02:00
Jan Bartel 467f026d37
Jetty 12.0.x 10716 charset printwriter (#10737)
* Issue #10716 tck compliance for setting response charset

---------

Co-authored-by: gregw <gregw@webtide.com>
2023-10-19 05:09:42 +02:00
Lachlan Roberts a7a9ccce35 deprecate PushCacheFilter
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-10-19 13:15:47 +11: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
gregw 78f3b5c9fb Simplify the DosFilter for #1256
Use only IP tracking for the DosFilter.
Fix defaults

Signed-off-by: gregw <gregw@webtide.com>
2023-10-19 08:44:50 +11:00
Olivier Lamy ef9abc02e6
tag this test as external (not running on CI) as it is using external resource from https://open.api.ebay.com (#10686)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-10-19 07:07:39 +10: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
Simone Bordet a9bcbc6512
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-18 17:43:32 +02:00
Simone Bordet 5ea5d65c43
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-18 17:31:54 +02:00
Simone Bordet 8c94490e18
Fixes #10390 - jetty http3 client and nghttpx. (#10744)
Fixed handling of long settings values, so that they do not overflow. Added logging for GREASE cases.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-18 17:06:56 +02:00
Lachlan 929eec9506
Merge pull request #10658 from jetty/fix/jetty-12.0.x-10333-requestTimeStamp
Issue #10333 - fix flaky test testLogRequestTimeCustomFormats
2023-10-18 15:47:20 +11:00
Lachlan Roberts 52b91c42df Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-10-18 15:35:11 +11:00
Lachlan caddfb5a41
Merge pull request #10675 from OlexYarm/jetty-10.0.x
Fixed issue 10305 Embedded Jetty server fails to start when requests path contains not existed directory
2023-10-18 15:34:50 +11:00
Lachlan 22c7295729
Merge pull request #10736 from jetty/jetty-12.0.x-websocketParameterMap
Issue #10734 - fix websocket CoreSession getParameterMap
2023-10-18 15:01:59 +11:00
Lachlan Roberts 8f6a371195 Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-websocketParameterMap 2023-10-18 07:39:51 +11:00
Joakim Erdfelt 74d301e49d
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-10-17 08:14:08 -05:00
Joakim Erdfelt bcd8be2293
Merge branch 'jetty-12.0.x' of github.com:jetty/jetty.project into jetty-12.0.x 2023-10-17 07:33:09 -05:00
Joakim Erdfelt d46217ff5b
Remove test reference from VERSION.txt 2023-10-17 07:33:00 -05:00
Joakim Erdfelt 505e8d02bb
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-10-17 07:25:04 -05:00
Ludovic Orban 7e2c9e5e2f
Reintroduce dispatched and errors stats as well as stats-on time (#10678)
* #10555 reintroduced dispatched and errors stats as well as stats-on time counter

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-17 14:20:08 +02:00
Ludovic Orban 5a21bd328a
Fix NPE in ResponseListeners (#10730)
* #10726 fix NPE in ResponseListeners when demultiplexing is used and the original source spuriously calls demand()

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-17 14:19:10 +02:00
Ludovic Orban 674a1acf06
Allow POSTing with a URL not ending with '/' to jax-ws endpoints (#10710)
* #10699 allow POSTing with a URL not ending with '/' to jax-ws endpoints

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-17 14:18:29 +02:00
Ludovic Orban 4ed22a7a71
Fix race condition in `ArrayByteBufferPool.clear()` (#10704)
* #10703 fix race condition in clear() and make sure non-reusable released entries are removed from the pool

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-10-17 14:17:32 +02:00
Joakim Erdfelt 909e99ec37
Add configuration to allow deferring the initial Deployment until after Server is started (#10667)
* Delayed Deployment configuration until after Server is started.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-10-17 06:25:01 -05:00
Olivier Lamy f2ab447c4f
Merge 11 to 12 Issue #10731 wrong context attribute name javax.servlet instead of jakarta.servlet (#10735) and Address build/test failure against bad entities. (#10742) (#10745)
* Issue #10731 wrong context attribute name javax.servlet instead of jakarta.servlet (#10735)

* Issue #10731 wrong context attribute name javax.servlet instead of jakarta.servlet

Signed-off-by: Olivier Lamy <olamy@apache.org>

* Update jetty-server/src/main/java/org/eclipse/jetty/server/MultiPartFormInputStream.java

Co-authored-by: Simone Bordet <simone.bordet@gmail.com>

* Update jetty-server/src/main/java/org/eclipse/jetty/server/Request.java

Co-authored-by: Simone Bordet <simone.bordet@gmail.com>

* fix javadoc

Signed-off-by: Olivier Lamy <olamy@apache.org>

* more usage of constant

Signed-off-by: Olivier Lamy <olamy@apache.org>

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>

* Address build/test failure against bad entities. (#10742)

Bad entities in test case can lead to:

* external URL references
* required HTTP GET requests
* not testing redirectEntity / resolveEntity
  (the whole point of the test)

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>

* use constant

Signed-off-by: Olivier Lamy <olamy@apache.org>

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-10-17 07:29:13 +02:00
Olivier Lamy ec58f687b4
Fix surefire display name in surefire report and restore TestTrackerExtension in output" (#10612)
* use native junit5 display name for xml reports

Signed-off-by: Olivier Lamy <olamy@apache.org>

* upgtade test-helper and enable junit extension auto detect

Signed-off-by: Olivier Lamy <olamy@apache.org>

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-10-17 05:54:37 +02:00