Commit Graph

12127 Commits

Author SHA1 Message Date
Simone Bordet cdcde53c6b Merged branch 'jetty-9.3.x' into 'master'. 2016-04-01 14:44:50 +02:00
Simone Bordet ce04cadb79 Fixes #233 - Add message to idle TimeoutException. 2016-04-01 14:44:26 +02:00
Simone Bordet 1146bce95e Merged branch 'jetty-9.3.x' into 'master'. 2016-04-01 14:29:38 +02:00
Simone Bordet 4aa512e468 Issue #184 - Empty Realm for BasicAuthentication.
Fixed by allowing empty realms.
2016-04-01 14:29:11 +02:00
Simone Bordet 650587ec0a Merged branch 'jetty-9.3.x' into 'master'. 2016-04-01 12:48:09 +02:00
Simone Bordet c8fea46e8f Issue #450 - Client AuthenticationProtocolHandler sends request failures to response failure listener.
Fixed by properly forwarding response success in case only the
request failed.
2016-04-01 12:46:12 +02:00
Simone Bordet a97d29f54b Removed usages of deprecated Callback.Adapter. 2016-04-01 12:46:12 +02:00
Greg Wilkins e51a3b5d09 Issue #473 SessionTest.testBasicEcho_FromClient frequently failing 2016-04-01 14:08:33 +11:00
Greg Wilkins 0e16f46173 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-01 12:48:10 +11:00
Jan Bartel 77a6514063 Issue #469 Update to Apache Jasper 8.0.33 2016-03-31 18:43:50 +11:00
Greg Wilkins 08b528e960 Issue #470 AsyncContextState NPE if called after reset
Added a NOT_ASYNC state to the enum to avoid the null value.
2016-03-31 18:23:18 +11:00
Jan Bartel 185ca3baa1 Issue #469 Update to Apache Jasper 8.0.33 2016-03-31 18:22:49 +11: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
Greg Wilkins 3590abc534 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-03-30 20:05:59 +11:00
Greg Wilkins c768828703 Issue #458 Improve Quality list handling
Added QuotedCSV and QuotedQualityCSV that are up to date with RFC7230
2016-03-30 19:07:11 +11:00
Greg Wilkins 9becd5e0dd added unit test to check #460 2016-03-30 18:56:55 +11:00
Greg Wilkins 330d21d27f Revert "Merge pull request #460 from thesnowgoose/master"
This reverts commit f5ba7ae197, reversing
changes made to 0fe1bbcd91.

The change fails for /foo/../../bar paths, as it returns bar rather than null
2016-03-30 18:55:09 +11:00
Greg Wilkins f5ba7ae197 Merge pull request #460 from thesnowgoose/master
Improve canonicalPath method in URIUtilTest.java
2016-03-30 15:43:32 +11:00
thesnowgoose f1cd6f6e4d Improve canonicalPath method in URIUtil.java
Signed-off-by: thesnowgoose <lcarrasco@nearsoft.com>
2016-03-29 18:01:55 -07:00
thesnowgoose 7f0fbff17e Improve canonicalPath method in URIUtil.java
Signed-off-by: thesnowgoose <lcarrasco@nearsoft.com>
2016-03-29 12:49:56 -07:00
Joakim Erdfelt 0fe1bbcd91 Merge branch 'jetty-9.3.x' 2016-03-25 13:25:22 -07:00
Joakim Erdfelt 80eefb5257 Improving WebSocketAdapter test reliability 2016-03-25 13:25:08 -07:00
Joakim Erdfelt 637da1d7b7 Merge branch 'master' of github.com:eclipse/jetty.project 2016-03-25 11:18:05 -07:00
Joakim Erdfelt 5c896d88ec Fixing javadoc build errors 2016-03-25 11:18:00 -07:00
Simone Bordet 3b5ed5a822 Merged branch 'jetty-9.3.x' into 'master'. 2016-03-25 18:34:23 +01:00
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
Joakim Erdfelt 5353aeb573 Merge branch 'jetty-9.3.x' 2016-03-25 10:14:41 -07: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 4722224b45 Excluding /tests/ from clirr 2016-03-24 16:09:05 -07:00
Joakim Erdfelt 4ca7673c3f api-change profile now works with master
+ Adding script to collect all clirr:clirr into single html report
2016-03-24 15:56:32 -07: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 a1e43f39ec Merge branch 'master' of github.com:eclipse/jetty.project 2016-03-23 21:29:26 -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
Joakim Erdfelt 6853aa5080 Marking 9.3.8 as clirr comparison 2016-03-23 20:41:19 -07:00
Greg Wilkins acfa1268bc Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-03-24 12:58:06 +11: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
Jan Bartel 4ca9e3b149 Merge remote-tracking branch 'origin/jetty-9.3.x'
Conflicts:
	jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSession.java
	jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionManager.java
	tests/test-quickstart/src/test/java/org/eclipse/jetty/quickstart/AttributeNormalizerTest.java
2016-03-24 11:38:44 +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
Jan Bartel bfeae1afa3 Remove periodic iteration over sessions 2016-03-23 16:59:36 +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