Commit Graph

28910 Commits

Author SHA1 Message Date
Joakim Erdfelt 3608d67f05
Merge pull request #10796 from jetty/fix/12.0.x/redirect-to-context-with-query
Issue #10794 - fixing Moved Permanently handling of query strings
2023-10-26 13:32:12 -05:00
Joakim Erdfelt 04475daf60
Issue #10794 - fixing Moved Permanently handling of query strings 2023-10-26 11:35:52 -05:00
Simone Bordet ab749237ce
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-26 17:27:37 +02:00
Simone Bordet 2fbfe75986
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-26 16:55:05 +02:00
Simone Bordet 95804f6d19
Merge pull request #10795 from jetty/fix/jetty-10-10786-tls-handshake-scheduler-leak
Fixes #10786 - TLS handshake failures leak HttpConnection.RequestTime…
2023-10-26 16:52:23 +02:00
Simone Bordet fa166d09c5
Fixes #10786 - TLS handshake failures leak HttpConnection.RequestTimeouts tasks
Moved the call to destroy the CyclicTimeouts to a close() call that is always called.

Fixed NPE in ManagedSelector.getTotalKeys().

Fixed exception handling to avoid infinite recursion in SslConnection.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-26 16:49:52 +02:00
Jan Bartel a5f06fceaf
Add ability to compress and skip unserializable session attributes (#10747)
* Add ability to compress and skip unserializable session attributes
2023-10-26 09:36:45 +02:00
Joakim Erdfelt f6d1ca9a71
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-10-25 22:35:05 -05:00
Joakim Erdfelt e068b5de54
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-10-25 22:33:33 -05:00
Joakim Erdfelt e98c0ae05d
Merge pull request #10791 from jetty/fix/10.0.x/jetty-sh-updates
Updates to jetty.sh and testing to reduce failures
2023-10-25 22:31:29 -05:00
Joakim Erdfelt 3eddc92783
Updates to jetty.sh and testing to reduce failures (#10790)
+ Updating AmazonCorretto to JDK 17
+ Making sure /etc/default/jetty is populated
  correctly in the user_change mode
+ Removing warnings from jetty startup
  about --start-log-file=... being
  unrecognized
+ Adding unique jetty12 identifier to docker
  image names (helps to keep different jetty
  versions apart when manually testing)
2023-10-26 14:28:01 +11:00
Joakim Erdfelt 1a0c0c32d2
Fixing 429 Too Many Requests from w3.org (#10789) 2023-10-26 14:26:45 +11:00
Joakim Erdfelt 31b5518fe3
Updates to jetty.sh and testing to reduce failures
Backport of #10790 to Jetty 10.

+ Making sure /etc/default/jetty is populated correctly in the user_change mode
+ Removing warnings from jetty startup about --start-log-file=... being unrecognized
+ Adding unique jetty10 identifier to docker image names (helps to keep different jetty versions apart when manually testing)

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-10-25 20:20:50 -05:00
Jan Bartel 3ae43961b8
Jetty 12.0.x overlay combined resources (#10760)
* Fix overlays with CombinedResource
* Improvements to CombinedResource for AnnotationParser
* Added `contains` and `getPathTo` methods to the Resource API, so they can be used by the AnnotationParser
* Fixed numerous bugs in CombinedResource list and getAllResources
* handles cross file system copy as well.
* Reduced fallback to URI string manipulation.

---------

Co-authored-by: gregw <gregw@webtide.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-10-26 07:49:48 +11:00
Joakim Erdfelt 1c2d7cee07
Merge pull request #10779 from jetty/fix/jetty-12/xhtml-schemas-1.3
Upgrade to xhtml-schemas 1.3 which add one more entity systemid
2023-10-25 12:59:03 -05:00
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
Joakim Erdfelt d6750b0b25
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-10-25 11:42:55 -05:00
Joakim Erdfelt bd9fdcb49c
Removing flaky test entries from VERSION.txt 2023-10-25 11:16:36 -05:00
Joakim Erdfelt 9a8daf71ca
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-10-25 11:14:55 -05:00
Joakim Erdfelt 92f62a10f9
Improve and test `jetty.sh` behaviors (#10753)
* Issue #10696 - Addressing start-stop-daemon behaviors in jetty.sh
* disable internal pid-file management of start-stop-daemon
* IssueDo not test for file system permissions if user is root, or process will switch to JETTY_USER
* Fixing bad UID / JETTY_USER condition
* Avoid FS test with setuid use as well
* Fixing stop behavior
* Adding jetty.sh docker testing

---------

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Olivier Lamy <olamy@apache.org>
2023-10-25 09:32:15 -05:00
Olivier Lamy d31dab50d4
Upgrade to xhtml-schemas 1.3 which add one more entity systemid
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-10-25 20:25:45 +08:00
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