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
07d35d32ae
Fixing windows build/test issues.
2020-10-16 15:39:38 -05:00
Joakim Erdfelt
97f795160c
Fixing windows build/test issues.
2020-10-16 13:54:27 -05:00
gregw
ba477fa5a7
Fixes #5454 Reset Error Context
...
Reset the error context when a request is recycled.
2020-10-16 08:16:43 -05: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
Joakim Erdfelt
89dc16ae09
Issue #5443 - Forwarding Headers are optional
...
Cleanup handling of forwarded.authority
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-13 10:27:01 -05:00
Joakim Erdfelt
0721178007
Issue #5443 - Forwarding Headers are optional
...
The `X-Proxied-Https: off` case should have an implied port
not a hardcoded port.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-13 08:31:32 -05:00
Joakim Erdfelt
457025bc16
Issue #5443 - Forwarding Headers are optional
...
Additional NPE safety checks.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-13 08:24:49 -05:00
Joakim Erdfelt
ea1103077c
Issue #5443 - Forwarding Headers are optional
...
+ Additional tests for HTTP/1.0
+ Overly complex negative test cases for
`X-Forwarded-Proto: http` and
`X-Proxied-Https: off`
+ Failure testcase for `X-Proxied-Https: foo`
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-13 08:20:27 -05:00
Joakim Erdfelt
abdada05b1
Issue #5443 - Forwarding Headers are optional
...
+ Improve / document implied secure scheme behaviors
for both `Proxy-Ssl-Id` or `Proxy-auth-cert`
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-13 07:15:38 -05:00
Joakim Erdfelt
f0681b33eb
Issue #5443 - Forwarding Headers are optional
...
+ Simplify isSecure handling in customize.
+ Simplify handling of `Proxy-Ssl-Id` header.
+ Simplify handling of `Proxy-auth-cert` header.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-13 07:03:37 -05:00
Joakim Erdfelt
0b646ee6b7
Issue #5443 - Forwarding Headers are optional
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-13 05:10:42 -05:00
Joakim Erdfelt
c2266fdd63
Issue #5417 - Cleanup of PR from Review
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-12 04:50:51 -05:00
Joakim Erdfelt
149f389fd8
Issue #5417 - Honoring implied ports on ForwardedRequestCustomizer better
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-09 09:54:57 -05:00
Greg Wilkins
c40b955e09
Issue #5022 Filter Cache cleanup ( #5271 )
...
* Issue #5022 Filter Cache cleanup
Issue #5022 Filter Cache cleanup:
+ Fixed many compiler warnings
+ removed old LazyList leftovers
+ Don't create holder string for source unless required
+ Only have a single type of chain, so it can be wrapped regardless of cache
+ Reverse mappings lists to make filter chain creation easier
+ build chain directly rather than build a list then a chain
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* added comment to explain ordering
Signed-off-by: gregw <gregw@webtide.com>
* More cleanups
* fixed toString format
turn off debug in OSGI test
2020-10-05 13:29:11 +02: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
Jan Bartel
eb02009f87
Issue #5365 ISE not NPE if fail to create session. ( #5370 )
...
If SessionHandler.newHttpSession(Request) fails to create a session
it returns null. Request.getSession(true) cannot throw a checked
exception, nor can it return null, so we should throw ISE.
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-09-30 16:51:54 +02: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
Lachlan
7e627359b3
Merge pull request #5276 from eclipse/jetty-9.4.x-IncludeExcludeConnectionStatistics
...
update documentation for statistics collection
2020-09-25 15:20:04 +10:00
Joakim Erdfelt
8fe32ce217
Merge pull request #5251 from eclipse/jetty-9.4.x-5247-forwarded-header-priority
...
Issue #5247 ForwardedRequestCustomizer authority order rework
2020-09-23 16:14:50 -05:00
Joakim Erdfelt
ebfdf8fc1b
Issue #5247 - Updates from review by greg
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-21 10:34:28 -05:00
Joakim Erdfelt
6cf6b78a16
Issue #5246 - Adding DeflaterPool to GzipHandler.dump
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-17 10:27:15 -05:00
Joakim Erdfelt
290c98e9b1
Issue #5285 - Making Content-Encoding for form content consistent
...
+ Fixing unit test expectations
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-16 15:48:03 -05:00
Joakim Erdfelt
844f134d21
Issue #5285 - Using Status code 415 Unsupported Media Type instead.
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-16 15:39:43 -05:00
Jan Bartel
bd589de512
Issue #5268 Change WARN to DEBUG for NullSessionCache eviction setter. ( #5270 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-09-16 11:27:07 +02:00
Lachlan Roberts
fbaabf5c8f
update documentation for statistics collection
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-16 15:48:27 +10:00
Joakim Erdfelt
59b85b6288
Issue #5247 - Updating Javadoc on ForwardedRequestCustomizer
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-11 11:58:04 -05:00
Joakim Erdfelt
a2233ce233
Issue #5247 - Introduce ForwardedRequestCustomizer.Priority enum
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-11 11:17:31 -05:00
Joakim Erdfelt
ac42cbd143
Issue #5247 - Improve testing of ForwardedRequestCustomizer
...
+ Merge ProxyPass tests from CheckReverseProxyHeadersTest into
ForwardedRequestCustomizerTest
+ Deleted CheckReverseProxyHeadersTest.java
+ Add more tests for ForcedHost configuration
+ Updated ForwardedRequestCustomizer to conform to expectations
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-11 11:11:09 -05:00
Joakim Erdfelt
4280303046
Issue #5247 - Document ForwardedRequestCustomizer authority search order
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-09 15:20:21 -05:00
Joakim Erdfelt
f74cada660
Issue #5247 - Priority based ForwardedRequestCustomizer
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-09 14:56:33 -05:00
Joakim Erdfelt
165e59b3e2
Merge pull request #5226 from eclipse/jetty-9.4.x-5224-xforwarded-multiple-ports
...
Issue #5224 X-Forwarded-Host support for port
2020-09-09 11:37:33 -05:00
Joakim Erdfelt
2896ed31d6
Issue #5224 - Updating ForwardedRequestCustomizerTest expectations
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-08 12:34:53 -05:00
Joakim Erdfelt
56b1d17d79
Issue #5233 - correcting NCSARequestLogTest expectation on unsupported version
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-08 05:59:41 -05: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
Joakim Erdfelt
5fef14019a
Merge pull request #5215 from eclipse/jetty-9.4.x-5214-head-huge-static
...
Issue #5214 - Servlet HEAD doesn't support content-length over Integer.MAX_VALUE
2020-09-02 12:54:38 -05:00
Joakim Erdfelt
e2134b13d7
Issue #5224 - X-Forwarded-Host support for port
...
+ More test cases
+ Allowing X-Forwarded-Host to parse port (if present properly)
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-02 10:27:33 -05:00
Joakim Erdfelt
e4ca153364
Issue #5224 - Test to replicate reported issue
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-02 09:34:16 -05:00
Jan Bartel
ef0c752476
Issue #4888 Ensure HttpSessionListener can access session via ( #5220 )
...
Issue #4888 Ensure HttpSessionListener can call Request.getSession
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-09-02 11:53:23 +02:00
Greg Wilkins
a6b7f73019
Merge branch 'jetty-9.4.x-5214-head-huge-static' of https://github.com/eclipse/jetty.project into jetty-9.4.x-5214-head-huge-static
2020-08-31 18:22:10 +02:00
Greg Wilkins
9e326fe520
+ improved sentinels values for content-length
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-08-31 18:19:11 +02:00
Joakim Erdfelt
9128fc48e4
Cleanup dead code in ResourceService
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-31 11:16:22 -05:00
Joakim Erdfelt
dcb06d3c35
Issue #5214 - Use known content_length when in HEAD mode
...
+ Adding DefaultServlet.doHead() to avoid servlet wrapping
+ Making ResourceService HEAD aware
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-31 11:03:49 -05:00
Joakim Erdfelt
eba360f662
Issue #5214 - Use known content_length when in bypass write
...
+ In the case of HEAD, the servlet-api response is a wrapper
of javax.servlet.http.HttpServlet$NoBodyResponse
We know the content_length, use it.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-31 09:43:04 -05:00
Lachlan
001def4905
Merge pull request #5175 from eclipse/jetty-9.4.x-5105-StatisticsHandler
...
Issue #5105 - StatisticsHandler Graceful Shutdown of Async Requests
2020-08-28 11:54:45 +10:00
Lachlan Roberts
a9c90d3309
Issue #5105 - change asyncGraceful to gracefulShutdownWaitsForRequests
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-27 08:59:13 +10:00
Lachlan Roberts
8edb7682cd
DebugHandler should use isAsyncStarted() instead of isSuspended()
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-25 10:40:09 +10:00
Lachlan Roberts
2d5da1fa35
StatisticsHandler should still return 503 responses on shutdown
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-25 10:34:59 +10:00