Commit Graph

11755 Commits

Author SHA1 Message Date
Simone Bordet 9116f792fd Merge pull request #457 from stephanemartin/jetty-9.3.x
[Jetty-Client] fix: don't add host automaticaly on http2 request.
2016-03-25 18:31:58 +01:00
Stéphane Martin 1c8b0869fd [Jetty-Client] fix: don't add host automaticaly on http2 request.
All google server answers bad request when Host field is filled with h2 protocol.

Change-Id: I9e16f8c9f56bc26df0b0a933cee0b3a3d6c31921
Signed-off-by: Stéphane Martin <stephane.martin@neotys.com>
2016-03-25 17:45:53 +01:00
Joakim Erdfelt 5d882d12ab Fixing AttributeNormalizerTest to use real 'user.home'
+ Removing many debug lines
+ Resolving System.getProperty("user.home") to real system path
  before using it in the test case
2016-03-24 11:04:13 -07:00
Joakim Erdfelt 81c8708c52 Attempting to ascertain what's going on with AttributeNormalizer on CI 2016-03-24 10:13:39 -07:00
Joakim Erdfelt 3628e105e9 Fixing QuickStart / AttributeNormalizer test failures
+ Adding more noise to test cases to help determine what's going on in
  CI builds for test-quickstart
2016-03-23 21:28:27 -07:00
Greg Wilkins d341b0e1d6 Merge branch 'jetty-9.3.x' into jetty-9.3.x-issue-448 2016-03-24 11:38:46 +11:00
Greg Wilkins 8b228073e3 Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
Efficiency improvements
2016-03-24 11:37:39 +11:00
Jan Bartel ede4c3a711 Issue #435 adjust debug log message 2016-03-24 10:55:52 +11:00
Jan Bartel 1c07172635 Issue #453 Change logging of setting session maxInactiveInterval to DEBUG from WARN 2016-03-24 10:03:39 +11:00
Greg Wilkins 4ae077f2b6 Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
Improved compliance level reporting
Improved method names to make code read better
2016-03-23 14:42:05 +11:00
Greg Wilkins 7f96db72c4 Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
Empty value is not a compliance issue
removed debug
moved violation handling to end of header rather than end of message
2016-03-23 13:13:16 +11:00
Joakim Erdfelt f2216ad108 Issue #437 - Avoid NPE on receiving empty message though MessageHandler.Partial
Minor updates to use features elsewhere in Jetty.
2016-03-22 12:51:04 -07:00
Joakim Erdfelt 995eba0f66 Merge pull request #442 from pbaranchikov/websocket-partial-npe
Issue #437 Avoid NPE on receiving empty message though MessageHandler.Partial
2016-03-22 12:47:03 -07:00
Joakim Erdfelt 7be58f9730 Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
+ added Optional behavior to record violations in a Request attribute
+ added servlet testcase showing this violation recording abillity
+ currently the recorded violation doesn't report the correct compliance mode that it violates
+ there is still a problem with a quoted empty string value from Issue #451
2016-03-22 12:20:19 -07:00
Joakim Erdfelt 0e2472b8e1 Issue #451 - RFC2616 Compliance mode should support empty headers
Updating test cases to show empty quoted header quirk
2016-03-22 11:20:50 -07:00
Pavel Baranchikov beccc5ee80 Fix #437 Avoid NPE on receiving empty message though MessageHandler.Partial
Signed-off-by: Pavel Baranchikov <p.a.baranchikov@gmail.com>
2016-03-22 16:33:38 +03:00
Greg Wilkins 9352d91d48 Issue #448 Log Compliance violations
Added a ComplianceHandler to HttpParsere to log compliance violations for #448
Am cautious that this may have a performance impact.
2016-03-22 13:58:50 +11:00
Joakim Erdfelt 36f559b483 Issue #446 - jetty-quickstart path normalization uses improper paths on Windows
Using URI syntax everywhere in AttributeNormalizer
2016-03-21 15:40:42 -07:00
Joakim Erdfelt 4f777a060f Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-03-18 10:42:40 -07:00
Joakim Erdfelt 14052742d0 Adding some git query scripts for information gathering 2016-03-18 10:42:17 -07:00
Simone Bordet 0e0edbb6db Fixes #441 (Simplify direct HTTP/2 over TLS HttpClient usage)
Added useALPN property to HttpClientTransportOverHTTP2 to disable
usage of ALPN and therefore allow direct HTTP/2 over TLS.
2016-03-18 10:49:03 +01:00
Greg Wilkins df9de50f96 Issue #434 RequestTest stack traces
Added reset to ShutdownMonitor
2016-03-17 10:34:53 +11:00
Simone Bordet 18aeca6567 Fixes #242 (Expose HTTP/2 LastStream error) 2016-03-16 22:14:09 +01:00
Greg Wilkins 5da034db66 Issue #431
HttClientTest cleanup
2016-03-17 06:26:20 +11:00
Joakim Erdfelt ca5bedb97f Improving VERSION.txt language 2016-03-16 10:20:41 -07:00
Joakim Erdfelt 13fde643ed Merge branch 'release-9.3.8' into jetty-9.3.x 2016-03-16 10:03:29 -07:00
Simone Bordet be7c50fa51 Fixes #409 (Http client authentication with proxy server)
Made BasicResult a public static class so that it can be used by
applications via AuthenticationStore.addAuthenticationResult().
2016-03-16 15:52:56 +01:00
Simone Bordet 3c0b654141 Fixes #312 (REQUEST_URI should retain original query string in case of rewrites)
Added init-param "originalQueryAttribute" to FastCGIProxyServlet to
retrieve the original query in case of rewrites.
2016-03-16 12:55:59 +01:00
Greg Wilkins 1c5a1fc6a2 Issue #431
Suppress stack traces from unit tests
2016-03-16 18:19:40 +11:00
Jan Bartel 6261150167 Add info to IllegalStateException on check for invalid session 2016-03-16 11:45:19 +11:00
Simone Bordet 3cd568c9b1 Fixes #428 (Exception logged during HttpClientTest)
Removed printStackTrace() call.
2016-03-15 22:04:26 +01:00
Joakim Erdfelt eb5d8b2f77 Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-03-15 11:22:50 -07:00
Raman Gupta f8626ecb3d Issue #418 - Add osgi capability for endpoint configurator
Signed-off-by: Raman Gupta <rocketraman@gmail.com>
2016-03-15 11:22:34 -07:00
Joakim Erdfelt 464c46a757 Issue #427 - Squelch intentional exceptions seen during websocket testing 2016-03-15 09:20:34 -07:00
Joakim Erdfelt 684c96a156 Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-03-15 07:47:52 -07:00
Joakim Erdfelt 032e984674 Issue #424 - Jetty impl. of Websocket ServerEndpointConfig.Configurator lifecycle out of spec 2016-03-15 07:44:46 -07:00
Simone Bordet 26f8deddf7 Introduced Callback.Nested.
Refactored code that was using nested callbacks and removed
unnecessary overrides now that we have default methods.
2016-03-15 15:24:44 +01:00
Simone Bordet 30f50c01ed Removed unused field. 2016-03-15 15:24:44 +01:00
Greg Wilkins 5b920700c2 less verbose unit tests 2016-03-15 18:21:09 +11:00
Jan Bartel 8eb240c2be Issue #371 update apache jsp to 8.0.27 2016-03-15 12:41:26 +11:00
Joakim Erdfelt c68d3b1d8d Updating to version 9.3.9-SNAPSHOT 2016-03-14 09:07:52 -07:00
Joakim Erdfelt 1f3b3f31f4 Updating to version 9.3.8.v20160314 2016-03-14 08:30:20 -07:00
Simone Bordet 838b5e4df2 Added test for newlines in header value. 2016-03-14 12:32:20 +01:00
Simone Bordet c583054a17 Code cleanup. 2016-03-14 12:31:28 +01:00
Simone Bordet 0b82129cd8 Issue #423 (Duplicate Content-Length header not handled correctly)
Refactored tests into existing test class.
2016-03-12 00:27:48 +01:00
Simone Bordet 5f2e2820f4 Issue #423 (Duplicate Content-Length header not handled correctly)
Fixed as required by the spec, rejecting the request.
2016-03-11 22:49:24 +01:00
Joakim Erdfelt 01aded0eaa Bumping up version jetty-version-maven-plugin to 1.1 2016-03-11 08:41:37 -07:00
Jan Bartel 4bbc469f57 Merge pull request #364 from hypnoce/fix_ldap_binded_login_9.3.x
9.3.x: Fetch user roles after a successful forced binded ldap login.
2016-03-11 23:03:41 +11:00
Simone Bordet 3f82886774 Issue #266 (jetty-client redirection process is aborted if redirect response have corrupt body)
Fixed by disabling content decode, since we are discarding the
content anway.
2016-03-11 11:31:39 +01:00
Jan Bartel d82b5ad65a Issue #411 Add more debug log for mongosessionmanager and remove debug printlns 2016-03-11 15:12:07 +11:00