Jan Bartel
90a72b0798
Issue #6556 Ensure context classloader set when operating on memcache. ( #6557 )
...
* Issue #6556 Ensure context classloader set when operating on memcache.
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-08-02 10:04:51 +10:00
Joakim Erdfelt
4d35dd736d
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-6544-gziphandler-excludedMimeTypes
2021-07-30 07:25:18 -05:00
Ludovic Orban
73ab70d174
#6491 extract common parseAndFillForContent method
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-28 10:14:19 +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
a4053578cb
Merge pull request #6547 from eclipse/jetty-10.0.x-optimize-imports
...
Remove unused import lines
2021-07-27 12:53:01 -05:00
Joakim Erdfelt
1bdb69dc07
Issue #6544 - Fixing broken `jetty.gzip.excludedMimeTypeList` property support
...
+ Adding GzipHandler tests
+ Adding Gzip module tests
+ Updating jetty-gzip.xml for
includedMimeTypesList and
excludedMimeTypesList behavior
+ Adding GzipHandler support for
setIncludedMimeTypesList(String) and
setExcludedMimeTypesList(String
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-27 11:36:56 -05:00
Joakim Erdfelt
fdc210f382
Remove unused imports
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-27 08:03:00 -05:00
Joakim Erdfelt
330fc0ba0b
Merge pull request #6537 from eclipse/jetty-10.0.x-tls-test-revamp
...
Issue #5684 - Update TLS tests
2021-07-27 07:44:21 -05:00
Ludovic Orban
c9a5d8df58
#6322 Use RetainableByteBuffer and write a new pool for it
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-24 11:14:21 +02:00
Joakim Erdfelt
713136fb0e
Issue #5684 - Update TLS tests
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-23 13:33:57 -05:00
Joakim Erdfelt
c4021023ee
Merge pull request #6526 from eclipse/jetty-10.0.x-6520-errorhandler-valid-xhtml-xml
...
Issue #6520 - Fixing ErrorHandler output of text/html
2021-07-23 12:56:17 -05:00
Joakim Erdfelt
43954e7325
Fix javadoc issues
...
+ <td valign=""> attribute not supported
+ bad </p> in @param tag
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-22 07:46:00 -05:00
Joakim Erdfelt
cb2aeb3c7a
Issue #6520 - Fixing ErrorHandler output of text/html
...
+ Updating tests to ensure that output is xml verified
+ Updating output to use `<hr>` element properly.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-16 20:15:55 -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
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
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
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
Lachlan
26f57b5f7c
Merge pull request #6415 from eclipse/jetty-10.0.x-6383-FixFileBufferedResponseHandlerTest
...
Issue #6383 - Fix flaky test FileBufferedResponseHandlerTest
2021-06-21 16:37:24 +10:00
Lachlan Roberts
1e2eb02260
Issue #6383 - Make FileBufferedInterceptor package private
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-06-18 09:47:35 +10:00
Simone Bordet
b8d6e3f010
Fixes #6410 - Use SocketAddress instead of InetSocketAddress. ( #6414 )
...
* Fixes #6410 - Use SocketAddress instead of InetSocketAddress.
Removed usages of InetSocketAddress in method signatures where possible.
Deprecated old methods, and added new methods with SocketAddress.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-06-17 10:18:08 +02:00
Lachlan Roberts
710cd0d1ac
Issue #6383 - Fix flaky test FileBufferedResponseHandlerTest
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-06-16 11:11:13 +10: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
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
Jan Bartel
900c71902c
Issue #6327 Remove DisabledOnJre or test where appropriate ( #6386 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-06-10 21:26:16 +10:00
Jan Bartel
103e1d95fd
Issue #6329 Fix xml config problems ( #6348 )
...
* Issue #6392 Review accidental xml config changes
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-06-10 21:11:50 +10: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
3a8af443f5
Fixes #6330 - CustomRequestLog is missing HTTP version format option. ( #6362 )
...
Simplified javadoc.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-06-04 16:17:48 +02:00
Jan Bartel
de37267ae5
Issue #6327 Fix cookie leak test ( #6344 )
...
* Issue #6327 Fix cookie leak test
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-06-04 15:08:53 +02:00
Lachlan Roberts
9cc7517d65
Issue #6330 - Improve javadoc for CustomRequestLog %H
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-06-04 15:05:07 +02:00
Jan Bartel
f50c4fd4b4
Issue #6327 Remove an invalid RequestTest
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-06-04 15:04:32 +02:00
Simone Bordet
21aba4a724
Fixes #6323 - HttpClient requests with redirects gets stuck/never calls onComplete()
...
* Reworked the total timeout handling.
* Now a CyclicTimeouts handles the exchanges in each HttpDestination,
and a CyclicTimeouts handles the exchanges in each HttpConnection
(rather than in HttpChannel).
* Now adjusting the total timeout for copied requests generated by
redirects and authentication.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
(cherry picked from commit 2e7d17400f
)
2021-06-04 12:12:40 +02:00
Greg Wilkins
0d71185e10
Fix #6305 Optimise isProtectedTarget ( #6306 )
...
* Fix #6305 Optimise isProtectedTarget
Fix #6305 Optimise isProtectedTarget by using case insensitive Index.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Fix #6305 Optimise isProtectedTarget
updates from review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Fix #6305 Optimise isProtectedTarget
updates from review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-05-28 18:01:25 +10:00
Jan Bartel
b0cd198b1b
Issue #6268 Log max form size exceeded msg. ( #6301 ) ( #6319 )
...
* Issue #6268 Log max form size exceeded msg.
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-05-25 15:39:01 +10: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
Lachlan
cd73338b84
Remove WebSocketComponents & HouseKeeper on Server restart. ( #6218 )
...
* Remove WebSocketComponents & HouseKeeper on Server restart.
* Add testing for cleanup of websocket when stopping server.
* Add removeFilterHolder and removeFilterMapping methods on ServletHandler.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-05-20 14:48:23 +02:00
Simone Bordet
67e2b4af2f
Fixes #5306 - Default jetty.*.acceptors should be 1. ( #6236 )
...
* Fixes #5306 - Default jetty.*.acceptors should be 1.
Changed the acceptor default to 1, with -1 calculating a value based on the number of cores.
Updated documentation.
Fixed a glitch in ManagedSelector.getMaxSelectedKeys() to return long, not double.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-05-20 09:34:07 +02:00
Ludovic Orban
1d5d8071ba
review comments
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-05-19 17:23:01 +02:00
Ludovic Orban
6ed64e1e65
fix HttpChannelOverHTTP2 recycling order to make sure no demanding content can be left pending
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-05-19 17:23:01 +02:00
Jan Bartel
cd6462a625
Issue #6277 Better handling of exceptions thrown in sessionDestroyed ( #6278 )
...
* Issue #6277 Better handling of exceptions thrown in sessionDestroyed
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-05-16 09:45:50 +10: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
Simone Bordet
b5b3874275
Fixes #6099 - Cipher preference may break SNI if certificates have different key types.
...
Updated the logic in SslContextFactory.Server.sniSelect(...) to check if there is
any certificate that matches, and if so return a null alias in the hope to be called
again and pick the right alias for the SNI.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
(cherry picked from commit 68296911b7
)
2021-05-10 12:25:56 +02:00
Greg Wilkins
1263732576
Fix #6227 Async timeout dispatch race ( #6228 ) ( #6231 )
...
Fix #6227 Async timeout dispatch race
Only allow the thread calling onTimeout to call dispatch and complete once timeout has expired.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-05-06 07:45:27 +10:00
Ludovic Orban
973dfcf4f7
consumeAll: fail content with static exception except when debug logs are enabled + move exception management from HttpInput to ContentProducer
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-04-28 13:15:51 +02:00
Lachlan
3b88b4713c
Merge pull request #6176 from eclipse/jetty-10.0.x-5817-CustomRequestLogFiltering
...
Issue #5817 - allow CustomRequestLog to be filtered with BiPredicate
2021-04-27 16:04:54 +10:00
Lachlan Roberts
988e158db3
Improve javadoc for CustomRequestLog.setFilter
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-04-26 16:46:53 +10:00
Ludovic Orban
25467f8904
Improve handling of HttpInput.Interceptor behavior
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-04-19 10:32:23 +02:00