Joakim Erdfelt
da8a4553af
Updating to version 10.0.7
2021-10-06 14:32:37 -05:00
Simone Bordet
0412bdc3d9
Fixes #6938 - module-info.java file do not use the canonical order for the elements
...
Changed order of entries in module-info.java to be canonical
(cherry picked from commit 02691171d5
)
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-10-01 09:25:55 +02:00
Olivier Lamy
4011f1e71e
merge jetty-10.0.x ( #6945 )
2021-09-30 20:41:49 +10:00
Olivier Lamy
51d44a3401
use dependencyManagement for internal dependencies ( #6940 )
...
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-09-30 16:57:19 +10:00
Dr Heinz M. Kabutz
02691171d5
Changed order of entries in module-info.java to be canonical
2021-09-30 08:29:51 +02:00
Olivier Lamy
d90c7152d5
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2021-09-14 06:21:42 +10:00
dependabot[bot]
b44dde6098
Bump maven-enforcer-plugin from 3.0.0-M3 to 3.0.0 ( #6755 )
...
* Bump maven-enforcer-plugin from 3.0.0-M3 to 3.0.0
Bumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer ) from 3.0.0-M3 to 3.0.0.
- [Release notes](https://github.com/apache/maven-enforcer/releases )
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.0.0-M3...enforcer-3.0.0 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix some upper bound issues and exclude more javax
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
* fix upperbound dependencies issue with enforcer plugin upgrade
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
* exclude this wrong which makes enforcer plugin fail and btw it's not used
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
* fix last enforcer upperbound issues
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-09-14 06:10:48 +10:00
Lachlan Roberts
b563bc0601
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2021-08-31 14:26:01 +10:00
Lachlan
0a78b9845d
Merge pull request #6657 from eclipse/jetty-10.0.x-6642-WebSocketConnectionHeaders
...
Issue #6642 - WebSocket handling of Connection: upgrade,close.
2021-08-31 14:25:47 +10:00
Lachlan Roberts
949aa6c342
Issue #6642 - move shutdown logic into HttpChannelOverHTTP and HttpConnection
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-27 11:53:54 +10:00
Lachlan Roberts
fa316fc20d
Issue #6642 - never shutdown output after generating a request.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-26 13:09:36 +10:00
Lachlan Roberts
cb9a8d4060
Issue #6642 - change HttpGenerator state to END before returning
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-25 11:27:56 +10:00
Lachlan Roberts
f7d9d8fcf8
Issue #6642 - prevent connection close after websocket upgrade
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-24 19:39:34 +10:00
Ludovic Orban
aeeed200dc
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-29 11:17:09 +02:00
Joakim Erdfelt
5dcc14b114
Merge pull request #6551 from eclipse/jetty-10.0.x-6545-refresh-mimetypes
...
Issue #6545 - Add more mime-types
2021-07-28 05:47:36 -05:00
Ludovic Orban
489f93a096
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-28 10:55:20 +02:00
Ludovic Orban
bd11d6f682
#6491 add defensive check and introduce HttpParser.isTerminated()
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-28 10:14:19 +02:00
Joakim Erdfelt
8971ea991f
Issue #6545 - Add more mime-types
...
+ Adding webp + avif + apng based on current
`Accept` header offerings from current browsers.
Firefox 90.0
`Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8`
Chrome 92.0.4515.107
`Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9`
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-27 11:48:39 -05:00
Ludovic Orban
9288e89684
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-08 15:54:20 +02:00
Joakim Erdfelt
9306829a09
Merge pull request #6504 from eclipse/release-11.0.6
...
Merge Release 11.0.6
2021-07-07 08:21:36 -05:00
Joakim Erdfelt
92b6f336b6
Merge pull request #6503 from eclipse/release-10.0.6
...
Merge Release 10.0.6
2021-07-07 08:21:20 -05:00
Greg Wilkins
8945a58ffc
Reduce header cache memory usage on non persistent requests ( #6494 )
...
Delay creating a header cache until a second request on a parser.
Refactored cache code into subclass
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-07-07 12:51:06 +10:00
Lachlan Roberts
273144526e
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2021-07-06 16:08:53 +10:00
Lachlan
259f9af9c9
Merge pull request #6490 from eclipse/jetty-10.0.x-6489-UriCompliance
...
Issue #6489 - fix RFC3986_UNAMBIGUOUS and UNSAFE UriCompliance modes.
2021-07-06 15:58:51 +10:00
Lachlan Roberts
76ab749aca
Issue #6489 - fix RFC3986_UNAMBIGUOUS and UNSAFE UriCompliance modes.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-07-01 17:52:07 +10:00
Lachlan Roberts
b82b46243d
Issue #6489 - fix RFC3986_UNAMBIGUOUS and UNSAFE UriCompliance modes.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-07-01 17:27:17 +10:00
Joakim Erdfelt
102caac3fe
Updating to version 11.0.7-SNAPSHOT
2021-06-29 11:40:18 -05:00
Joakim Erdfelt
6946943289
Updating to version 11.0.6
2021-06-29 11:15:33 -05:00
Joakim Erdfelt
c245a70893
Updating to version 10.0.7-SNAPSHOT
2021-06-29 10:51:22 -05:00
Joakim Erdfelt
37e7731b4b
Updating to version 10.0.6
2021-06-29 10:27:56 -05:00
Lachlan
3c32afa05c
Issue #6473 - canonicalPath refactor & fix alias check in PathResource (Jetty-10) ( #6478 )
...
Issue #6473 - canonicalPath refactor & fix alias check in PathResource
* Reverted %-escape handling for URI query parts.
* Performing canonicalization in ServletContext.getResource(),
and improving alias checking in ContextHandler.getResource().
* Performing canonicalization checks in Resource.addPath() to avoid
navigation above of the root.
* Test added and fixed.
* Various cleanups.
* Improved javadoc and comments
* Compliance mode HttpURI uses UriCompliance.Violation
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Greg Wilkins <gregw@webtide.com>
2021-06-29 15:42:39 +02:00
Lachlan Roberts
d1aeaf7cfa
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2021-06-24 18:06:19 +10:00
Lachlan
bc0fbbb5c1
Revert logic in Request.setMetaData, clear emptySegment on HttpUri.clear() ( #6468 )
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Manually merged as ECA checks are broken
2021-06-24 17:18:49 +10:00
Greg Wilkins
d13bd9b63b
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-06-24 15:22:04 +10:00
Greg Wilkins
4673846635
Compliance modes documentation ( #6312 )
...
Added doco on compliance modes
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2021-06-24 15:20:05 +10:00
Joakim Erdfelt
c1b6e30471
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2021-06-23 18:14:25 -05:00
Lachlan
d233f3be02
Issue #6447 - Deprecate support for UTF16 encoding in URIs ( #6457 )
...
Deprecate support for UTF16 encoding in URIs.
Add compliance mode to allow UTF16 encodings.
Improve testing.
2021-06-23 22:58:49 +10:00
Joakim Erdfelt
89d2ea0192
Updating to version 11.0.6-SNAPSHOT
2021-06-11 10:12:15 -05:00
Joakim Erdfelt
50df216262
Updating to version 11.0.5
2021-06-11 09:52:40 -05:00
Joakim Erdfelt
9d2d1e29b7
Updating to version 10.0.6-SNAPSHOT
2021-06-11 09:42:42 -05:00
Joakim Erdfelt
dc21b2d73c
Updating to version 10.0.5
2021-06-11 09:18:00 -05:00
Ludovic Orban
61a30e381d
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-06-10 15:49:43 +02:00
Lachlan
b4d7e5117d
Issue #6302 - Treat empty path segments as ambiguous. ( #6304 )
...
Issue #6302 - Treat empty path segments are ambiguous.
* Fix false empty segments being reported.
* Add HttpUriTests for the empty segment as ambiguous
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Co-authored-by: Greg Wilkins <gregw@webtide.com>
2021-06-10 15:12:59 +02:00
Joakim Erdfelt
063e8c80d5
Updating to version 11.0.5-SNAPSHOT
2021-06-04 13:53:06 -05:00
Joakim Erdfelt
5bcdeb52ae
Updating to version 11.0.4
2021-06-04 13:35:11 -05:00
Joakim Erdfelt
987066aac1
Updating to version 10.0.5-SNAPSHOT
2021-06-04 13:28:47 -05:00
Joakim Erdfelt
5523480c54
Updating to version 10.0.4
2021-06-04 13:09:44 -05:00
Simone Bordet
a83bff553c
Updated POM versions to 11.0.4-SNAPSHOT.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-05-21 17:16:21 +02:00
Simone Bordet
9ace21992e
Updated POM versions to 10.0.4-SNAPSHOT.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-05-21 17:07:46 +02:00
Simone Bordet
e9a8497521
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-05-12 17:22:40 +02:00
Lachlan
f58dbedcd0
Fixes #6263 - Review URI encoding in ConcatServlet & WelcomeFilter.
...
Review URI encoding in ConcatServlet & WelcomeFilter and improve testing.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2021-05-12 17:14:43 +02:00
Lachlan Roberts
1d953e72ba
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2021-04-19 11:14:19 +10:00
Lachlan
4c98990cd9
Create FileBufferedResponseHandler to buffer responses into a file. ( #6010 )
...
FileBufferedResponseHandler adds an HttpOutput.Interceptor to buffer all responses into a file until the output is closed. This allows the commit to be delayed until the response is complete and thus headers and response status can be changed while writing the body.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-04-19 11:02:44 +10:00
Simone Bordet
465154ae04
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-04-10 18:54:34 +02:00
Greg Wilkins
b56edf511a
UriCompliance mode improvements #6132 ( #6137 )
...
Resolve #6132
Improve configuration of ambiguous URI handling.
Added NON_CANONICAL_AMBIGUOUS_PATHS
2021-04-08 12:03:30 +10:00
Guilherme Amaral
e3c87fc2af
Changed exception check by JUnit API usage ( #6133 )
2021-04-06 08:51:50 +10:00
Olivier Lamy
3ee2ba7172
Updating to version 11.0.3-SNAPSHOT
2021-03-26 06:58:38 +00:00
Olivier Lamy
14ed9a5264
Updating to version 11.0.2
2021-03-26 06:41:47 +00:00
Olivier Lamy
a0796d1055
Updating to version 10.0.3-SNAPSHOT
2021-03-26 06:31:31 +00:00
olivier lamy
61b5e1a8af
revert back to 11.0.2-SNAPSHOT
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2021-03-26 16:15:49 +10:00
Olivier Lamy
7bd207b309
Updating to version 10.0.2
2021-03-26 06:13:42 +00:00
Olivier Lamy
d27363fa55
back to 10.0.2-SNAPSHOT
...
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-03-26 06:10:47 +00:00
Jesse McConnell
e1f2f8c989
Updating to version 11.0.3-SNAPSHOT
2021-03-25 11:14:04 -05:00
Jesse McConnell
0a126e2e21
Updating to version 11.0.2
2021-03-25 10:58:33 -05:00
Jesse McConnell
7a9e01ac56
Updating to version 10.0.3-SNAPSHOT
2021-03-25 10:38:15 -05:00
Jesse McConnell
aac6bfbd48
Updating to version 10.0.2
2021-03-25 10:21:44 -05:00
Simone Bordet
6fca106160
Reverted version to 10.0.2-SNAPSHOT.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-03-25 16:02:45 +01:00
Olivier Lamy
3d0574d64c
Updating to version 10.0.3-SNAPSHOT
2021-03-25 04:10:39 +00:00
Olivier Lamy
ab235ad687
Updating to version 10.0.2
2021-03-25 03:57:25 +00:00
gregw
694d3a3e3c
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2021-03-02 12:00:00 +01:00
Greg Wilkins
06e1a7e88d
URI compliance modes for #6001 ( #6006 )
...
* Fix #4275 separate compliance modes for ambiguous URI segments and separators
default modes allows both ambiguous separators and segments, but still forbids ambiguous parameters
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-03-02 11:59:16 +01:00
Joakim Erdfelt
7df67f3a3c
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2021-02-25 15:52:29 -06:00
gregw
c4dbf9748e
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: gregw <gregw@webtide.com>
2021-02-24 11:58:55 +01:00
Greg Wilkins
49e73dfb75
Fix #4275 #6001 separate compliance modes for ambiguous URI segments and se… ( #6003 )
...
Fix #4275 separate compliance modes for ambiguous URI segments and separators
2021-02-24 10:05:05 +01:00
Simone Bordet
d00e2d7b4f
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-02-24 09:42:10 +01:00
Joakim Erdfelt
fa6c617069
Fixing checkstyle warning
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-02-23 16:28:09 -06:00
gregw
bc3e1dc94e
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: gregw <gregw@webtide.com>
2021-02-23 20:06:30 +01:00
Greg Wilkins
8bd4a9fad8
Fix #5999 ArrayIndexOutOfBounds for unicode in HttpURI segment ( #6000 )
...
Fixed ArrayTrie to not throw if passed a unicode character.
2021-02-23 20:03:45 +01:00
Joakim Erdfelt
3f0f57cefc
Updating to version 11.0.2-SNAPSHOT
2021-02-19 16:20:48 -06:00
Joakim Erdfelt
e98092c179
Updating to version 11.0.1
2021-02-19 16:02:24 -06:00
Joakim Erdfelt
8ed8dc62e3
Updating to version 10.0.2-SNAPSHOT
2021-02-19 13:06:42 -06:00
Joakim Erdfelt
d0bfd9145d
Updating to version 10.0.1
2021-02-19 12:43:50 -06:00
Joakim Erdfelt
ea2a76ed3b
Updating to version 9.4.38-SNAPSHOT
2021-02-19 09:44:28 -06:00
Joakim Erdfelt
27afab2bd3
Updating to version 9.4.37.v20210219
2021-02-19 09:03:57 -06:00
Joakim Erdfelt
98518c96fe
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2021-02-18 11:39:59 -06:00
gregw
bb5fefdaeb
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: gregw <gregw@webtide.com>
2021-02-18 17:44:46 +01:00
Greg Wilkins
324ab668de
More optional etag gzip fixes for #5979 ( #5986 )
...
* More optional etag gzip fixes for #5979
IF no separator defined, do not add a suffix to an etag.
Some cleanup of the implementation.
* More optional etag gzip fixes for #5979
updates from review
2021-02-18 17:24:16 +01:00
gregw
d392174bb6
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2021-02-18 14:19:00 +01:00
gregw
1113b15110
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2021-02-18 14:18:31 +01:00
Joakim Erdfelt
10e531756b
Merge pull request from GHSA-m394-8rww-3jr7
...
Use comparator based sort
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: gregw <gregw@webtide.com>
Co-authored-by: gregw <gregw@webtide.com>
2021-02-18 14:14:38 +01:00
Greg Wilkins
71fb369dc5
Fix #5979 by allowing a configurable etag separator. ( #5980 )
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-02-18 09:39:25 +10:00
olivier lamy
1d5662f841
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2021-02-18 07:44:37 +10:00
Greg Wilkins
a8b4927427
Fix #5979 by allowing a configurable etag separator. ( #5980 )
...
* Fix #5979 by allowing a configurable etag separator.
Fix #5979 by allowing a configurable etag separator
* updates from review
* Updates from review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-02-17 22:19:23 +01:00
Simone Bordet
9b28a4a5c9
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-02-17 19:20:23 +01:00
gregw
97ee0fd527
fixed bad merge
2021-02-17 18:49:37 +01:00
gregw
349b89d7e4
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: gregw <gregw@webtide.com>
2021-02-17 18:11:02 +01:00
gregw
ea3f3a5b93
Update merge to 10 comment
2021-02-17 18:09:37 +01:00
Greg Wilkins
ad6fc62bb5
Cleanup setPathQuery from #5954 ( #5981 )
...
Cleanup setPathQuery from #5954 so that it does not retain an old query if the passed string does not contain a query
2021-02-17 18:05:12 +01:00
Ludovic Orban
22be42c436
Merge branch 'jetty-10.0.x' into jetty-11.0.x
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-02-17 16:38:06 +01:00
gregw
1e364eccf8
Re re Fix rewrite tests for #5954
...
Re re Fix rewrite tests for #5954 . Restore setPathQuery behaviour to preserve queries if none are set.
2021-02-17 12:41:55 +01:00
gregw
dd5a565c08
Re re Fix rewrite tests for #5954
...
Re re Fix rewrite tests for #5954 . Restore setPathQuery behaviour to preserve queries if none are set.
2021-02-17 12:12:56 +01:00
gregw
472f04c1eb
fix checkstyle
2021-02-16 17:01:46 +01:00
gregw
7769f61242
Fixed checkstyle
2021-02-16 16:55:14 +01:00
gregw
ff3d5656a2
fix test style
2021-02-16 16:54:05 +01:00
gregw
172cd61878
merge from 9.4.x
...
Signed-off-by: gregw <gregw@webtide.com>
2021-02-16 16:35:57 +01:00
Greg Wilkins
20ef71fe5d
Fix #4275 fail URIs with ambiguous segments ( #5954 )
...
Handle URIs by first resolving relative paths and then decoding.
Added compliance mode to return 400 if there are ambiguous path segments.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-02-16 14:47:41 +01:00
Joakim Erdfelt
01fb5769f4
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2021-02-15 14:18:34 -06:00
Joakim Erdfelt
d6ec96fe1b
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2021-02-15 14:18:08 -06:00
Joakim Erdfelt
5dd987779c
Adding `WhitespaceAfter` checkstyle rule.
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-02-15 12:48:24 -06:00
Ludovic Orban
bd0083c210
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-02-03 13:24:13 +01:00
Ludovic Orban
421ed6bf8d
implementation of HttpServletRequest.upgrade
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-02-03 13:10:38 +01:00
Joakim Erdfelt
10136235b2
Happy New Year 2021 (Jetty 11 edition)
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-01-21 15:22:28 -06:00
Joakim Erdfelt
e81c847998
Happy New Year 2021 (Jetty 10 edition)
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-01-21 15:05:57 -06:00
Joakim Erdfelt
176e29e408
Happy New Year 2021
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-01-21 12:31:00 -06:00
Joakim Erdfelt
2e53ec5384
Updating to version 9.4.37-SNAPSHOT
2021-01-14 11:27:24 -06:00
Joakim Erdfelt
238ec6997c
Updating to version 9.4.36.v20210114
2021-01-14 10:29:28 -06:00
gregw
002043f42f
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
...
Signed-off-by: gregw <gregw@webtide.com>
2021-01-05 12:57:34 +01:00
Greg Wilkins
51120b1f0b
Tries improvements ( #5736 )
...
* ArrayTrie handles full alphabet
* TreeTrie handles case sensitive
* improved trie selection from Index builders
* optimisations, cleanups and benchmarks.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-01-05 12:52:34 +01:00
Joakim Erdfelt
d5b08ea9f2
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2020-12-11 11:40:10 -06:00
Joakim Erdfelt
2662be0a05
Merge pull request #5795 from eclipse/jetty-10.0.x-5784-fix-dual-license-text
...
Issue #5784 - fix dual license text
2020-12-11 11:37:58 -06:00
olivier lamy
efe4f5e5ea
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2020-12-11 12:11:53 +10:00
olivier lamy
9b100a5bfb
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2020-12-11 12:10:35 +10:00
Olivier Lamy
639cad63fe
Jetty 9.4.x optimize parser warning from logs and add spotbug ( #5735 )
...
* enable spotbugs in CI
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
record issues
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
use warning new generation
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
activate errorprone
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
fix Jenkinsfile
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
do not run spotbugs for jetty-runner as we do not want to fix all dependencies bugs :)
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
junit should allow empty results
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
maven console can be use only once...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
one liner
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
recordissues only once
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
force id
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
aggregate results
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
configure a name for aggregated reports
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
mo more -T3 no need anymore of remote session test profile
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
I want to see what failing tests look like with new report.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
skip spotbugs for jetty-jmh
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
get rid of findbugs as we now have spotbugs
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
Revert "I want to see what failing tests look like with new report."
This reverts commit df0d13e4c53d7461872e1f925ec06bd36e4a66c9.
activate errorProne parser
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
make pmd quiet for CI
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
remove -fae flag and do not display transfer progress
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
try junitParser() to see what it does
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
junit parser is a bad idea...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
increase timeout
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
no -T2 for javadoc
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
fix skip spotbugs and pmd verbose
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* remove -T options
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-12-11 11:47:26 +10:00
Joakim Erdfelt
f0badc5c5e
Issue #5784 - Fixing source header text: EPL-2.0 OR Apache-2.0
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-12-10 16:04:50 -06:00
Joakim Erdfelt
30bd8b9fba
Updating to version 11.0.1-SNAPSHOT
2020-12-02 15:59:13 -06:00
Joakim Erdfelt
432f896d7a
Updating to version 11.0.0
2020-12-02 15:35:56 -06:00
Joakim Erdfelt
9319f10425
Updating to version 10.0.1-SNAPSHOT
2020-12-02 15:30:13 -06:00
Joakim Erdfelt
b9645a1737
Updating to version 10.0.0
2020-12-02 15:04:53 -06:00
Simone Bordet
fa232a4684
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-26 16:38:18 +01:00
Ludovic Orban
aa8bd5d820
replace Trie interface and impls usage with new *Index interfaces and Builders
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-11-26 14:14:16 +01:00
Joakim Erdfelt
e8683cba9f
Updating to version 9.4.36-SNAPSHOT
2020-11-20 16:05:27 -06:00
Joakim Erdfelt
bdc54f03a5
Updating to version 9.4.35.v20201120
2020-11-20 15:05:50 -06:00
olivier lamy
0d40a210fc
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2020-11-18 21:29:20 +10:00
gregw
f37ad023a8
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: gregw <gregw@webtide.com>
2020-11-18 11:20:48 +01:00
Greg Wilkins
14f94f738d
Issue #5605 unconsumed input on sendError ( #5637 )
...
* Issue #5605 unconsumed input on sendError
Add Connection:close if content can't be consumed during a sendError. Processed after the request has returned to the container.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Update from review
+ Add close on all uncommitted requests when content cannot be consumed.
* Update from review
+ fixed comment
+ space comma
* Only consume input in COMPLETE if response is >=200 (ie not an upgrade or similar)
* Updated to be less adventurous
I do not think it was valid to always consumeAll in COMPLETE as this could break upgrades with both 101s and 200s
Instead I have reverted to having this consumeAll logic only:
+ in sendError once control has passed back to the container and we are about to generate an error page.
+ in front of all the sendRedirection that we do without calling the application first.
Extra tests also added
* Updated to be less adventurous
reverted test
* Testcase for odd sendError(400) issue.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
* Fix for odd sendError(400) issue.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* Testcase for odd sendError(400) issue.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
* Always try to consumeAll on all requests
* Refinements after testing in 10
* Refinements after testing in 10
Fixed test
* Fixed comment from review
* Updates from review
+ added redirect methods that consumeAll
+ ensureContentConsumedOrConnectionClose renamed to ensureConsumeAllOrNotPersistent
+ ensureConsumeAllOrNotPersistent now handles HTTP/1.0 and HTTP/1.1 differently
* better consumeAll implementation
* update from review
+ better javadoc
+ filter out keep-alive
+ added more tests
* update from review
+ better javadoc
* update from review
+ fixed form redirection test for http 1.0 and 1.1
* update from review
+ HttpGenerator removes keep-alive if close present
+ Use isRedirection
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-18 10:40:05 +01:00
gregw
b37686e852
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2020-11-12 17:18:25 +01:00
gregw
8884575f85
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: gregw <gregw@webtide.com>
2020-11-12 17:17:55 +01:00
Greg Wilkins
f4c32e788a
Fix #5562 Improve HTTP Field cache allocation ( #5565 )
...
* Fix #5562 Improve HTTP Field cache allocation
Fix #5562 by initially putting cacheable fields into a inexpensive arraylist.
Only create the Trie (with space and complexity costs) if a second request is received.
* Fixed NPE
* Feedback from review
Create `HttpHeader.isPseudo()`` method
improved clarity with `createFieldCacheIfNeeded()``
* Feedback from review
Only defer Trie creation to first cacheable field, not until next request.
* Updates from review
* Update from review
+ more javadoc
+ empty set return
2020-11-12 17:05:32 +01:00
gregw
afd7e34955
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2020-11-11 17:49:35 +01:00
gregw
6ea9f11bc1
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-11-11 17:49:03 +01:00
Greg Wilkins
bb886ad932
Fix #5575 SEARCH method ( #5576 )
...
+ Added all IANA methods
+ Used Trie for most lookups
+ Fixed ArrayTernayTrie lookup
+ optimised GET, POST and HEAD
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-11 17:48:08 +01:00
Joakim Erdfelt
edaadff55b
Updating to version 9.4.35-SNAPSHOT
2020-11-02 09:04:51 -06:00
Joakim Erdfelt
e46af88704
Updating to version 9.4.34.v20201102
2020-11-02 08:03:51 -06:00
Joakim Erdfelt
e726eefb0b
Updating to version 9.4.34-SNAPSHOT
2020-10-20 18:55:39 -05:00
Joakim Erdfelt
1be6875565
Updating to version 9.4.33.v20201020
2020-10-20 18:28:51 -05:00
Joakim Erdfelt
d612f12cf6
Issue #5451 - Removing file/dir permission management from codebase
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-16 13:17:28 -05:00
Lachlan Roberts
5f5eff36cb
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2020-10-16 17:14:00 +11:00
Joakim Erdfelt
fdd880b66b
Issue #5451 - Cleanup of temp file cleanup.
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-15 18:10:38 -05:00
Lachlan Roberts
5dc0242986
Issue #5287 - Changes from review & fix broken tests from NPE
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-10-14 22:28:26 +11:00
Lachlan Roberts
21576f2312
Issue #5287 - fix usages of new CompressionPool
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-10-14 22:28:26 +11:00
Joakim Erdfelt
b20f0fae46
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2020-10-12 06:20:49 -05:00
Joakim Erdfelt
857e888e8b
Issue #5401 - Move HttpTester to jetty-http
...
+ leaving jetty-http-tools alone
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-07 14:50:31 -05:00
Joakim Erdfelt
c223ee37ab
Updating to version 11.0.0-SNAPSHOT
2020-10-02 16:38:23 -05:00
Joakim Erdfelt
9ce21ec22b
Updating to version 11.0.0.beta2
2020-10-02 16:20:55 -05:00
Joakim Erdfelt
85e257fc98
Updating to version 9.4.33-SNAPSHOT
2020-09-30 11:53:09 -05:00
Joakim Erdfelt
de97d26f7b
Updating to version 9.4.32.v20200930
2020-09-30 11:03:24 -05:00
Joakim Erdfelt
3423375a97
Issue #5357 - Updating to https://eclipse.org/ ( #5358 )
...
* Issue #5357 - Updating to https://eclipse.org/
- Removing redundant <url> refs in pom.xml
- Correcting bad indenting from merge
- Correcting mailing list references
- Correcting bugs.eclipse.org references
- Correcting text file references
- Correcting html references
- Correcting further references
- Correcting download.eclipse.org reference
- Adding test for demo-base /proxy/current/
- Ensuring jetty-client is included in javadoc-proxy.war/WEB-INF/lib
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-29 11:02:32 -05:00
Greg Wilkins
b220fc711e
fixed checkstyle from merge
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-09-23 19:27:47 +02:00
Greg Wilkins
0ac34ff2b8
Issue #5304 HTTP2 HostHeader ( #5307 )
...
* Issue #5304 HTTP2 HostHeader
Updated HostHeaderCustomizer to actually add the Host header, either from values passed in the custructor or from the getServerName and getServerPort methods.
The HttpURI is no longer updated.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #5304 HTTP2 HostHeader
+ Found and fixed bug in HttpFields
+ Added port normalization support to HttpScheme
+ added test
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* blank line
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #5304 HTTP2 HostHeader
+ refixed bug in HttpFields
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #5304 HTTP2 HostHeader
+ still fixing HttpFields bug
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #5304 HTTP2 Host Header
updates from review
2020-09-23 15:05:52 +02:00
Lachlan Roberts
e31227b6ac
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2020-09-21 10:45:25 +10:00
Lachlan
df085a610f
Merge pull request #5248 from eclipse/jetty-10.0.x-5198-UpdateGzipHandler
...
Issue #5198 - update gzip handler
2020-09-21 10:41:16 +10:00
Joakim Erdfelt
550512a616
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2020-09-15 14:41:01 -05:00
Joakim Erdfelt
f45b0eb0e5
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-09-15 14:40:34 -05:00
Joakim Erdfelt
829cf76a89
Issue #4954 - Expose header size/length from HttpParser
...
- Minimal new API for exposing byte counts to HttpChannel.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-15 08:36:20 -05:00
Joakim Erdfelt
e278727e22
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2020-09-09 09:30:55 -05:00
Joakim Erdfelt
4215edd3b9
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-09-09 09:30:30 -05:00
Lachlan Roberts
4e6827c539
Issue #5198 - fix usage of inflater/deflater ByteBuffer API
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-09 13:53:09 +10:00
Lachlan Roberts
7a04b3eb19
Issue #5198 - use ByteBuffer API for inflater/deflaters for GzipHandler
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-08 17:10:36 +10:00
Lachlan Roberts
3bdd82eb5e
Issue #5198 - GzipHandler should use InflaterPool as well as DeflaterPool
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-08 15:27:21 +10:00
Joakim Erdfelt
b2e0f69ea8
Issue #5233 - Bad/Unsupported HTTP version should return 505 not 400.
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-04 12:23:11 -05:00
Simone Bordet
06a2ebc48e
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
2020-08-27 00:02:55 +02:00
Greg Wilkins
601710c9dc
Issue #5171 Simplify GzipHandler user-agent handling ( #5196 )
...
* Issue #5171 Simplify GzipHandler user-agent handling
+ Remove User-Agent handling from GzipHandler
+ Allow Vary header to be set
+ Create rewrite MsieRule to remove Accept-Encoding from IE<=6
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* + Full implementation of HttpFields ensure
+ use for Vary field
* + fixed checkstyle
* + fixed test for merged header
* + fixed javadoc
* Issue #5171 Simplify GzipHandler user-agent handling
+ improved comments
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* rename and testing after review
2020-08-26 23:55:36 +02:00
Jan Bartel
e47d2fb32b
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2020-08-24 17:20:56 +02:00
Jan Bartel
77779ed6d8
Issue #4996 - Regularlize logging ( #5167 )
...
* Issue #4996 Regularize logging
Signed-off-by: Jan Bartel <janb@webtide.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-24 17:15:13 +02:00
olivier lamy
85a281f473
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2020-08-15 09:25:23 +08:00
Simone Bordet
45682c2088
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-08-13 18:31:34 +02:00
Simone Bordet
51d0780041
Issue #5104 - AbstractProxyServlet include incorrect protocol version in Via header when accessed over H2.
...
Fixed HttpFields.computeField() removal loop.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-13 18:23:26 +02:00
Simone Bordet
46220a0f58
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-08-13 15:05:23 +02:00
Simone Bordet
7b3dccc1bf
Issue #5104 - AbstractProxyServlet include incorrect protocol version in Via header when accessed over H2.
...
Added HttpFields.computeField() for HttpHeader too and updated usages.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-13 11:50:43 +02:00
Simone Bordet
c3598e814b
Merged branch 'jetty-9.4.x-5104-incorrect_via_header-2' into 'jetty-9.4.x-5104-incorrect_via_header'.
2020-08-13 11:33:50 +02:00
Greg Wilkins
a933b1645c
simplified loops
...
unmodifiable found list
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-08-13 11:27:37 +02:00
Greg Wilkins
f31604cff2
added test. Fixed bugs
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-08-13 11:17:19 +02:00
Simone Bordet
faea7c9ac1
Fixes #5104 - AbstractProxyServlet include incorrect protocol version in Via header when accessed over H2.
...
Fixed javadocs.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-13 11:05:38 +02:00
Greg Wilkins
f1a13521df
improved implementation
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-08-13 10:06:31 +02:00
Simone Bordet
79d340fdb6
Fixes #5104 - AbstractProxyServlet include incorrect protocol version in Via header when accessed over H2.
...
* Introduced HttpFields.computeField() to put/append header values.
* Reworked AbstractProxyServlet.addViaHeader().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-13 00:08:52 +02:00
olivier lamy
e26126264a
Updating to version 11.0.0-SNAPSHOT
2020-08-11 16:48:06 +08:00
olivier lamy
6b2b429ba5
Updating to version 11.0.0.beta1
2020-08-11 16:48:06 +08:00
olivier lamy
c198d26e6b
Updating to version 10.0.0-SNAPSHOT
2020-08-11 16:47:55 +08:00
olivier lamy
429b091578
Updating to version 10.0.0.beta1
2020-08-11 16:47:54 +08:00
Simone Bordet
e8f76878e3
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
2020-08-04 17:46:55 +02:00
Simone Bordet
8d69fc41a7
Fixes #5083 - Convert synchronized usages to AutoLock.
...
* Replaced relevant usages of synchronized with AutoLock.
* Made AutoLock serializable since classes that use it may be stored in the HttpSession.
* Added convenience methods to AutoLock to execute lambdas with the lock held.
* Introduced AutoLock.WithCondition to use a Lock and a Condition together.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-07-27 23:14:05 +02:00
Joakim Erdfelt
fe9deae849
Updating to version 9.4.32-SNAPSHOT
2020-07-23 13:53:47 -05:00
Joakim Erdfelt
450ba27947
Updating to version 9.4.31.v20200723
2020-07-23 12:46:54 -05:00
olivier lamy
eefe3d202b
revert fail release
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-07-10 15:04:22 +10:00
olivier lamy
9619a5a743
Updating to version 10.0.0.beta1
2020-07-10 14:23:28 +10:00
olivier lamy
6ff39cf848
Updating to version 11.0.0-SNAPSHOT
2020-07-10 06:25:08 +10:00
olivier lamy
4c250b0f93
Updating to version 11.0.0.beta1
2020-07-10 06:25:07 +10:00
olivier lamy
9fa6a5794c
Updating to version 11.0.0-SNAPSHOT
2020-07-09 16:24:52 +10:00
olivier lamy
5353ec98e0
Updating to version 11.0.0.beta0
2020-07-09 14:32:48 +10:00
olivier lamy
aaeffb719e
Updating to version 10.0.0-SNAPSHOT
2020-07-09 12:25:34 +10:00