Commit Graph

27007 Commits

Author SHA1 Message Date
Lachlan Roberts 81f67f3fff remove getPreCompressedContentFormats from HttpContent
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-10-12 18:02:34 +11:00
Lachlan 48c085d082
Merge pull request #8703 from eclipse/jetty-12.0.x-8698-ee8-websocket-mod-file
fix ee8-websocket-javax.mod file for jetty 12
2022-10-12 16:23:38 +11:00
Lachlan Roberts 9f8621269c remove usage of HttpContent.getPreCompressedContentFormats for jetty-core & ee10
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-10-12 16:16:15 +11:00
Lachlan Roberts 6a6681a2df fix stampede creating CachingHttpContent & remove usage of getPreCompressedContentFormats
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-10-12 16:11:33 +11:00
Lachlan Roberts 3f955345bd fix ee8-websocket-javax.mod file for jetty 12
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-10-12 14:12:35 +11:00
Jan Bartel 756cf2102e
Fix jaas demos (#8689)
* Fix jaas demos add distro test
2022-10-12 09:33:14 +11:00
Lachlan Roberts a7383ea4de only check file modified time once per second for cached files
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-10-11 18:41:56 +11:00
Lachlan Roberts 1353f16d57 Refactor for CachingContentFactory and ResourceService
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-10-11 11:08:42 +11:00
Ludovic Orban 3e78f82c9e Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-10-10 19:21:01 +02:00
Ludovic Orban 059c01e14f Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-10-10 19:18:11 +02:00
Ludovic Orban 1c242a6849 disabled Foreign module tests on JDK18+
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-10-10 19:15:30 +02:00
Simone Bordet f68c66b1aa
Merge pull request #8701 from eclipse/jetty-12.0.x-7778-httpinput-read-into-bytebuffer
Forward port of PR #7778 to `jetty-12.0.x`.
2022-10-10 18:53:13 +02:00
Simone Bordet d3d83d0028
Merged PR #7800 to `jetty-12.0.x`.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-10-10 16:32:26 +02:00
Simone Bordet 2cbb0e19e0
Forward port of PR #7778 to `jetty-12.0.x`.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-10-10 16:22:26 +02:00
Simone Bordet 4532161b13
Merged PR #7563 to `jetty-12.0.x`.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-10-10 15:57:52 +02:00
Joakim Erdfelt 73faf92808
Merge pull request #8630 from eclipse/jetty-12-resource-collection-only-dirs
Jetty 12 - Restrict `ResourceCollection` to only hold directory entries
2022-10-10 07:00:23 -05:00
Olivier Lamy b1f8019860
simplify poms, add back missing changes from #7850 and #7687 (#8697)
* simplify poms, add back missing changes from #7850
* remove non used plugin, missing from #7687


Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-10-10 12:52:40 +10:00
Olivier Lamy b2d050948d fix javadoc
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-10-09 07:59:24 +10:00
Olivier Lamy 1f792d48d0 fix javadoc error in http2 Stream class, enable back building javadoc in Jenkinsfile
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-10-09 07:59:24 +10:00
Olivier Lamy 05a120653b
remove useless checkstyle configuration and ensure we do not parse generated test sources (e.g jmh)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-10-08 16:30:53 +10:00
Joakim Erdfelt 5c863ccfee
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12-resource-collection-only-dirs 2022-10-07 13:52:34 -05:00
Joakim Erdfelt 98c3805fc0
Merge pull request #8693 from eclipse/fix/jetty-12-servlet-pathmapping-regex
Jetty 12 - Cherry-Pick of Servlet PathMapping improvements around RegexPathSpec
2022-10-07 10:36:46 -05:00
Joakim Erdfelt 1ae87e03bb
Merge remote-tracking branch 'origin/jetty-12.0.x' into fix/jetty-12-servlet-pathmapping-regex 2022-10-07 08:43:49 -05:00
Joakim Erdfelt 04d8c3f451
Updates for test failures 2022-10-07 08:26:39 -05:00
Simone Bordet c785f08b17
[Jetty 12] Made WebSocket over HTTP/2 work. (#8685)
* Made WebSocket over HTTP/2 work.

Re-enabled tests, and restored HTTP2StreamEndPoint,
as well as implemented getTunnelSupport() for HTTP/2.

Removed from HttpStream methods for upgrade that are
not necessary anymore.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-10-07 12:50:42 +02:00
Joakim Erdfelt dd3e3cf6e8
Aligning changes between ee9 & ee10 2022-10-07 05:36:20 -05:00
Joakim Erdfelt bada439bac
Missed ee9 changes 2022-10-07 05:26:06 -05:00
Joakim Erdfelt 9acc24212e
Merge pull request #8692 from eclipse/fix/jetty-12-remove-qosfilter-deprecated-methods
Jetty 12 - Remove deprecated methods from QoSFilter
2022-10-07 05:21:50 -05:00
Joakim Erdfelt fd8863d196
Merge pull request #8691 from eclipse/fix/jetty-12-octect-typo
Jetty 12 - Fix typo "octect" -> "octet"
2022-10-07 05:21:45 -05:00
Joakim Erdfelt 3dd47d1bff
Cleanup post-cherry-pick of RegexPathSpec changes
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-10-07 05:12:56 -05:00
Joakim Erdfelt 25dd6d0ef7
Cherry-pick of Improvements to PathSpec for Jetty 10.0.x (#8136)
* Cherry-pick of Improvements to PathSpec.
* From commit: 5b4d1dd1c6
* Fixing ConstraintSecurityHandler usage of PathMappings
* Fixing bad INCLUDE logic from cherry-pick in ServletHandler.doScope()
* Cleanup of non ServletPathSpec behaviors in ServletPathMapping class
* Skip optional group name/info lookup if regex fails.
* Prevent NPE on static servletPathMappings
* Update WebSocketMappings to use new PathMappings.getMatched(String)

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-10-06 15:50:18 -05:00
Greg Wilkins 351fe53c9a
Fix #7891 regex pathInfo (#7892)
Fix 7891 regex pathInfo

+ Use the pathSpec methods to set servletPath and pathInfo when possible

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2022-10-06 15:44:01 -05:00
Greg Wilkins 024a053455
Issue #7748 - allow override of path mapping behavior in ServletContextHandler (#7614)
Added protected method to ServletHandler to allow other servlet mappings (eg regex) in embedded/extended usage

Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-10-06 15:42:12 -05:00
ianrifkin f9616fed93
Issue #7182 having running() delete the state file where it previously only deleted the pid file. (#7184)
* Issue #7182 changing approach from deleting the state file consistently to simply grep'ing for last line in JETTY_STATE file

Signed-off-by: Ian Rifkin <ianrifkin@ianrifkin.com>
2022-10-06 15:33:43 -05:00
Joakim Erdfelt bfadf5e8e7
Issue #7617 - RequestLog content params extraction prevention (#7618) 2022-10-06 13:16:49 -05:00
markslater 1f844e8d57
#7863 Include value of first accept-encoding header where multiple accept-encoding headers are given. (#7864)
Signed-off-by: markslater <mark.slater@mail.com>
2022-10-06 13:10:25 -05:00
Joakim Erdfelt 0b05425aa5
Issue #5681 - clearer warning on JVM Arg / System Property use (#7769)
- Improved warning on unrecognized Command Line Options

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-10-06 12:01:37 -05:00
Jan Bartel 1bd498dd9a
Issue #7657 Remove unused test imports in jetty-nosql (#7658)
Signed-off-by: Jan Bartel <janb@webtide.com>
2022-10-06 11:48:50 -05:00
Joakim Erdfelt 660f601f21
Issue #5965 - fixing invalid dot output from start.jar (#7606)
* Adding testcase that can use `dot` if it exists on the machine.
2022-10-06 11:41:50 -05:00
Joakim Erdfelt d7288cbcd2
Remove deprecated methods from QoSFilter 2022-10-06 11:36:32 -05:00
Joakim Erdfelt e6ac065966
Fix typo "octect" -> "octet" 2022-10-06 11:28:12 -05:00
Joakim Erdfelt 281f0dc495
Fix bad test cases from merge 2022-10-06 09:17:48 -05:00
Joakim Erdfelt ad337f1fda
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-10-06 07:32:48 -05:00
Joakim Erdfelt 128b192b21
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-10-06 07:15:18 -05:00
Joakim Erdfelt 5733ffc8c7
Merge pull request #8688 from eclipse/fix/jetty-10-start-extract-traversal
Fix traversal bug on extraction of bad jar/zip files during jetty-start
2022-10-06 07:15:06 -05:00
Joakim Erdfelt 11e2e7d059
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-10-06 07:14:16 -05:00
Joakim Erdfelt 4b908d9483
Merge pull request #8629 from eclipse/fix/jetty-10-restore-pathmapping-getmatch
Issue #8628 - pseudo restore `PathMappings.getMatch(String)`
2022-10-06 07:13:45 -05:00
Jan Bartel f1e39433e8 Fix context paths for some ee10 and ee8 demos 2022-10-06 14:59:07 +11:00
Olivier Lamy eb9d07378a
move flatten mojo configuration in top pom, fix boms and remove non needed content (#8686)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-10-06 06:50:45 +10:00
Jan Bartel b85f904520
Re-enable and fix loginservice tests ee10 (#8683) 2022-10-06 07:33:51 +11:00