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
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
Lachlan Roberts
382aed8374
Issue #5817 - allow CustomRequestLog to be filtered with BiPredicate
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-04-15 19:03:50 +10:00
Simone Bordet
e163b001c3
Fixes #6105 - HttpConnection.getBytesIn() incorrect for requests with chunked content
...
Moved recording of bytes to fillRequestBuffer(),
so they are accounted also for async reads.
Added test case.
Fixed test that was too strictly comparing HttpConnection.bytesIn,
that now report a correct, but larger value.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
(cherry picked from commit aed20abcbe
)
2021-04-10 18:51:54 +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
Lachlan
d7de3ea660
Merge pull request #6092 from eclipse/jetty-10.0.x-6084-GzipHandlerCompressionPool
...
Issue #6084 - CompressionPools should not be configured through the GzipHandler
2021-03-31 11:08:52 +11:00
Greg Wilkins
20fae6485c
Jetty 10.0.x #5684 disabled tests ( #6081 )
...
* Fixes for #5684
Simplified CyclicTimeoutTest#testBusy
InclusiveByteRange clears range list on errors
InclusiveByteRange is forgiving of tab separators and leading 0s
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-03-30 22:24:56 +02:00
Olivier Lamy
a0796d1055
Updating to version 10.0.3-SNAPSHOT
2021-03-26 06:31:31 +00: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
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
Simone Bordet
e068119bc3
Issue #6085 Fix duplicate valid session cookies to pick first valid.
...
Cosmetic changes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-03-25 15:53:03 +01:00
Simone Bordet
43562774a8
Issue #6085 Fix duplicate valid session cookies to pick first valid.
...
Signed-off-by: Jan Bartel <janb@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-03-25 15:53:03 +01:00
Lachlan Roberts
3ad772e5e7
Issue #6084 - Add setters for the Deflater/Inflater pool used by GzipHandler.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-03-25 20:24:24 +11: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
Jan Bartel
fd05a3d19c
Issue #6085 Fix reference counts for multiple valid cookies for sessions ( #6088 ) ( #6096 )
...
* Issue #6085 Fix reference counts for multiple valid cookies for sesssions
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-03-25 09:37:17 +11:00
Greg Wilkins
303e031235
Added before dependents to Modules ( #6080 )
...
Added `before` section to a module to control ordering
rename `options` section to `after`
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2021-03-24 13:31:36 +01:00
Greg Wilkins
d80c622b00
Merge pull request from GHSA-v7ff-8wcx-gmc5 ( #6089 )
...
Always normalize ambiguous URIs
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-03-24 05:54:06 +01:00
Olivier Lamy
d9db52f1d7
add an easy way to configure useInputDirectByteBuffers/useOutputDirectByteBuffers for HttpConfiguration ( #6055 )
...
* add an easy way to configure useInputDirectByteBuffers/useOutputDirectByteBuffers for HttpConfiguration
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2021-03-24 14:17:04 +10:00
Lachlan Roberts
df87b6e21e
Issue #6084 - Add warnings for deprecated GzipHandler methods for CompressionPool capacity.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-03-24 14:07:58 +11:00
Lachlan Roberts
df13b33bfb
Issue #6084 - CompressionPools should not be configured through the GzipHandler.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-03-24 13:56:07 +11:00
Joakim Erdfelt
cba4864fef
Issue #5996 - Remove logback-access.mod ( #6002 )
...
* Issue #5996 - Removing logback-access.mod
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-03-24 03:21:45 +01:00
Greg Wilkins
0d91f33b79
Fix #6076 Protect from null local certificates ( #6078 )
...
Fix #6076 Protect from null local certificates
cache resulting X509 in session
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-03-23 22:17:40 +01:00
Joakim Erdfelt
be22761a20
Fixes #6072 - jetty server high CPU when client send data length > 17408.
...
Avoid spinning if the input buffer is full.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-03-22 23:24:57 +01:00
Greg Wilkins
c59de808f1
Fix #5835 Durable filters and servlets ( #6027 )
...
Fix #5835 Durable filters and servlets with a general ServletHandler cleanup
update indexes after updating mapping
update mappings/indexes before destroyed listeners
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-03-22 11:28:25 +01:00
Lachlan
c664d673e0
Merge pull request #6033 from eclipse/jetty-10.0.x-6008-RequestLogFix
...
Issue #6008 - fix RequestLog usage with filePath.
2021-03-11 15:28:20 +11:00
Lachlan Roberts
671a76c613
Issue #6008 - add default ini line for jetty.requestlog.dir
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-03-10 21:37:30 +11:00
Lachlan Roberts
c1215e46c2
Issue #6008 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-03-09 18:35:34 +11:00
Simone Bordet
8de7b83966
Fixes #6034 - SslContextFactory may select a wildcard certificate during SNI selection when a more specific SSL certificate is present.
...
Now matching certificates are sorted, non-wildcard first, so that a more specific alias is returned.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-03-08 19:40:24 +01:00
Lachlan Roberts
08c4ce14ab
Issue #6008 - fix RequestLog usage with filePath.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-03-04 11:19:14 +11:00
Joakim Erdfelt
1cb0a4978f
Merge pull request #6022 from eclipse/jetty-10.0.x-better-xml-path-resolution
...
Issue #6021 - PoC for resolvePath within XmlConfiguration
2021-03-03 12:24:25 -08:00
Joakim Erdfelt
613e0ecd54
Issue #6021 - PoC for resolvePath within XmlConfiguration
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-03-02 14:40:36 -06: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
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
gregw
16241d7fcb
Efficiency improvements for #5977
...
Improve efficiency for non wrapped response for cache-contro
2021-02-23 13:09:02 +01:00
gregw
3100f2c158
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: gregw <gregw@webtide.com>
2021-02-23 13:07:56 +01:00
gregw
fdb54fa2fb
Efficiency improvements for #5977
...
Improve efficiency for non wrapped response for cache-contro
2021-02-23 13:06:50 +01:00
Greg Wilkins
c0b0f80567
Efficiency improvements for #5977 ( #5998 )
...
Improve efficiency for non wrapped response for cache-contro
2021-02-23 12:56:22 +01:00
olivier lamy
0f32e264a2
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2021-02-23 10:38:05 +10:00
olivier lamy
38ef4009b9
fix containsHeader test when it is not instance of Response, Issue #5977 was partially fixed
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2021-02-23 10:01:53 +10: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