Lachlan Roberts
a639ee9275
Resolved errorprone MissingOverride warnings #2206
...
`@Override` was added to methods which were missing the annotation #2206
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-01 13:59:25 +11:00
Joakim Erdfelt
72f4f13510
Making DosFilterTest.testDelayedIP more resilient
2018-02-27 11:28:26 -06:00
Greg Wilkins
ec51926622
reduce fragility of tests
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-19 19:22:32 +11:00
Joakim Erdfelt
21365234f8
Issue #2108 - Updating license headers for year 2018
2018-01-09 09:44:41 -06:00
Joakim Erdfelt
41ed9f29f4
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2018-01-09 09:37:25 -06:00
Joakim Erdfelt
fa4c7b0ca9
Issue #2108 - Updating license headers for year 2018
2018-01-09 08:39:37 -06:00
Joakim Erdfelt
067fc5d2d8
Issue #2108 - Upgrade licenses for 2018
2018-01-09 07:42:06 -06:00
olivier lamy
1a49a6fb7e
more javadoc fixes #2056
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2018-01-08 12:28:12 +11:00
Simone Bordet
fab4b95925
Fixes #1980 - PushCacheFilter does not push TLS offloaded HTTP/2 requests.
...
Changed HttpChannel to call Request.setSecure() with the scheme of the
request URI.
Changed PushCacheFilter to rely on the referrer URI scheme, and only if
that is missing then using Request.isSecure().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2017-11-16 23:32:44 +01:00
Joakim Erdfelt
9d3f20d509
Fixes #1717 - cleaning up testcase
2017-08-31 15:12:18 -07:00
Dell Green
a3c3d735ab
Issues #1717 DoSFilter remotePort tracker loadId delimiter added between address and port for ipv4 and ipv6
...
Signed-off-by: Dell Green <dell.green@ideaworks.co.uk>
2017-08-25 17:49:22 +01:00
Joakim Erdfelt
1311052b15
Cleaning up state of branch to match the original jetty-9.4.x
...
+ Does not include changes to /jetty-cdi/
+ Does not include changes to /jetty-websocket/ for javax.websocket-1.1
2017-08-08 09:47:04 -07:00
Jan Bartel
e39c66d425
Issue #1645
2017-08-08 09:14:32 -07:00
S K
a7e4f92054
Issue #1622 - HeaderFilter does not work if response has been committed ( #1628 )
...
Signed-off-by: S K (xz64) <xz64.xyz@gmail.com>
2017-08-08 09:13:46 -07:00
S K (xz64)
b93f9b319d
add general purpose header filters
...
Signed-off-by: S K (xz64) <xz64.xyz@gmail.com>
2017-08-08 09:13:37 -07:00
Greg Wilkins
e7ef74dd4f
removed deprecated test method usage
2017-08-08 09:10:25 -07:00
Greg Wilkins
02276974a8
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-04-20 13:19:28 +10:00
Greg Wilkins
9ccf0a5337
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-03-09 16:39:30 +11:00
Greg Wilkins
2219863c11
Issue #1340 Consistent optional use of query string in PushCacheFilter
2017-03-09 16:24:31 +11:00
Joakim Erdfelt
5e57b9562f
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2017-02-02 16:14:10 -07:00
Joakim Erdfelt
9a8f22d5dd
Testing Updates
...
+ Upgrading to jetty-test-helper 4.0
+ Removing use of org.eclipse.jetty.toolchain.test.SimpleRequest
+ Removing use of org.eclipse.jetty.toolchain.test.http.SimpleHttpParser
+ Removing use of org.eclipse.jetty.toolchain.test.http.SimpleHttpResponse
+ Updating long since deprecated (and now removed) known quirky methods
in jetty-test-helper and the test classes.
2017-02-02 15:51:38 -07:00
Simone Bordet
0c8273f2ca
Happy New Year 2017.
2017-01-19 19:26:41 +01:00
Simone Bordet
07838b057f
Happy New Year 2017.
2017-01-19 18:54:03 +01:00
Simone Bordet
347c48d657
Revert "resolve merge and update license headers"
...
This reverts commit 53b31b03dd
, reversing
changes made to 4565c186d7
.
2017-01-19 18:26:43 +01:00
Jesse McConnell
53b31b03dd
resolve merge and update license headers
2017-01-19 09:33:16 -06:00
Jesse McConnell
ce3e6dafec
update license headers to 2017
2017-01-19 09:30:00 -06:00
Greg Wilkins
e4ae117e78
removed deprecated usages
2017-01-12 10:54:38 +11:00
Simone Bordet
95c7e78eaf
Issue #1220 - PushCacheFilter does not add the context path to pushed resources.
...
Now taking into account the context path to cache and push resources.
2017-01-05 16:32:41 +01:00
Simone Bordet
c018eb5b92
Issue #1209 - IllegalStateException when HTTP/2 push is disabled.
...
Skipping filter logic when HTTP/2 push is disabled.
2016-12-31 12:19:46 +01:00
Simone Bordet
4b5d482911
Removed duplicate code.
2016-12-30 18:58:14 +01:00
Simone Bordet
e78c117c01
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-11-14 22:30:08 +01:00
Simone Bordet
5e5d6913e6
Fixes #1099 - PushCacheFilter pushes POST requests.
2016-11-14 22:28:27 +01:00
Greg Wilkins
6781a949b1
Issue#1066 Simplify HttpGeneration
...
Reduce the transformations needed on header fields, so they can be more often
set directly and no need to split and recombine.
The Content-Length field is added IF it is needed for framing or if it was explicitly set
The Transfer-Encoding: chunk field is used only as a hint that there is content.
Connection fields are used as is, but are checked for close and keep-alive
2016-11-03 16:55:33 +11:00
Jan Bartel
7790234589
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-11-02 15:42:03 +11:00
Jan Bartel
ca882c8dee
Issue #240
...
No error if no parts because input stream already consumed.
2016-11-02 15:40:59 +11:00
Jan Bartel
96804627ee
480764 Suppress stacks in multipart filter tests
2016-10-28 14:54:40 +11:00
Jan Bartel
da853574f6
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-10-28 14:41:37 +11:00
Jan Bartel
6f6ccdf061
480764 Add extra tests for empty multipart.
2016-10-28 14:41:05 +11:00
Simone Bordet
cf0ecbd88f
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-07-21 17:50:08 +02:00
Simone Bordet
42b16e9785
Merged branch 'jetty-9.2.x' into 'jetty-9-3-x'.
2016-07-21 17:49:37 +02:00
Simone Bordet
ccff4b8346
Fixes #756 - Filter out headers.
2016-07-21 17:42:48 +02:00
Simone Bordet
76a362d9ad
Code cleanups.
2016-07-21 17:42:48 +02:00
Greg Wilkins
4ca62d8995
updated starvation test for extra low resources thread
2016-07-08 00:12:04 +10:00
Greg Wilkins
e38ec83de9
Issue #695 use the getResponse methods
2016-07-07 18:13:44 +10:00
Jan Bartel
6b778f9f0e
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-07-07 14:32:18 +10:00
Joakim Erdfelt
650db59e69
Fixes #693 - QoSFilterTest failures are not capture by junit
...
+ Switching from Workers from Runnables to Callables
+ Using ExecutorService to execute Workers
+ Using Futures to report exceptions in Workers to the junit
Test Runner
2016-07-06 16:27:31 -07:00
Mikko Tiihonen
3261e03edb
Support for configurable set of precompressed static resources
...
* Support for configurable set of precompressed static resources
Signed-off-by: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
* Use QuotedQualityCSV to parse preferred content encodings
Signed-off-by: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
2016-04-07 13:57:00 +10:00
Simone Bordet
68747ca316
Merged branch 'jetty-9.3.x' into 'master'.
2016-03-30 19:09:38 +02:00
Simone Bordet
86f3947378
Issue #454 - DoSFilter does not send an error status code when closing a connection, because of timeout.
...
Introduced onRequestTimeout() to deprecate closeConnection() since
the method was wrongly named.
Now onRequestTimeout() performs a sendError(503) to signal that the
request timed out, rather than responding with 200 OK.
Cleaned up tests.
2016-03-30 19:08:32 +02:00
Joakim Erdfelt
3624339ec6
Merge branch 'jetty-9.3.x'
2016-03-16 10:29:29 -07:00