563 Commits

Author SHA1 Message Date
Greg Wilkins
c696f14450 368821 improved test harness 2012-01-18 15:24:20 +11:00
Greg Wilkins
9ff8633554 368821 SslConnection.handle always calls wrapped Connection.handle, so state can be processed 2012-01-18 13:39:24 +11:00
Simone Bordet
e609a65e61 368821 - SSL Spin on asyncDispatch.
Test (for now ignored) that reproduces the problem.
2012-01-17 23:05:41 +01:00
Simone Bordet
cf30b19f7e Added one more SSL bytes tests that send RST while the server is read blocked. 2012-01-13 11:03:03 +01:00
Simone Bordet
d4f522b9d4 Corrected SslConnection to clear the _inbound buffer if the input is shutdown
and the unwrapping yielded a buffer underflow.

This is important because isInputShutdown() returns true only if the _inbound
buffer is empty, and the check for the input shutdown is made in several places.

Added also more SSL bytes tests that send RST in order to test cases that throw
exceptions.
2012-01-11 22:22:42 +01:00
Greg Wilkins
d66f45f2da 368240: renamed to use manage/unmanage instead of join/disjoin 2012-01-11 11:16:31 +11:00
Greg Wilkins
cb22cfdbe5 368240: renamed to use manage/unmanage instead of join/disjoin 2012-01-11 11:06:14 +11:00
Simone Bordet
b6f5edecb5 368240 - Better handling of locally created ThreadPool. Forgot to null out field. 2012-01-10 19:02:48 +01:00
Simone Bordet
3a30b4b7a5 368240 - Better handling of locally created ThreadPool. 2012-01-10 18:05:44 +01:00
Simone Bordet
ba57d711c6 Cosmetics. 2012-01-10 17:39:17 +01:00
Greg Wilkins
a7783ae568 368240: Fixed the start of dependent beans 2012-01-11 01:04:01 +11:00
Greg Wilkins
968a2ac95b 368240: Added concept of join to AggregateLifeCycle. Used by HttpClient and AbstractConnector 2012-01-11 00:09:34 +11:00
Simone Bordet
829686f1e1 Removed JDK 1.6-ism. 2012-01-09 21:51:15 +01:00
Simone Bordet
69675d4d19 365048 - jetty Http client does not send proxy authentication when requesting a Https-resource through a web-proxy. 2012-01-06 16:19:05 +01:00
Thomas Becker
2fa5a63f3c 365048: Fix proxy issue. http-client dropped authentication header on connect requests before
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2012-01-06 15:56:15 +01:00
Simone Bordet
371e998b62 367485 - HttpExchange canceled before response do not release connection. 2011-12-23 11:51:14 +01:00
Jesse McConnell
6a967ff2fe Skip two failing unit tests on mac and windows for the time being, tests
are commented on what the underlying open question is
2011-12-22 07:02:05 -06:00
Greg Wilkins
b99e03c465 364921 moved setCheckForIdle handling to AsyncHttpConnection 2011-12-22 00:48:25 +11:00
Simone Bordet
ef23bf11b8 Merged from origin/master. 2011-12-21 10:45:06 +01:00
Simone Bordet
744f76f6c9 Added an idle timeout test. 2011-12-21 10:34:33 +01:00
Greg Wilkins
a606529710 364921 SslConnection does real close on idle if already oshut 2011-12-21 10:06:55 +11:00
Simone Bordet
ecb88f836e 367175 - SSL 100% CPU spin in case of blocked write and RST. 2011-12-20 13:25:55 +01:00
Greg Wilkins
b7d8bd4f28 364638 HttpParser closes if data received while seeking EOF. Tests fixed to cope 2011-12-20 10:55:56 +11:00
Greg Wilkins
f7103d88f9 364638 reverted write after shutdown handling 2011-12-19 21:56:42 +11:00
Greg Wilkins
b027779830 364638 check for idle after shutdown output 2011-12-19 16:53:14 +11:00
Joakim Erdfelt
44de94f185 Attempting to write a better timeout test 2011-12-16 14:45:38 -07:00
Joakim Erdfelt
a5d18d48ad Attempting to get a non-ssl version of the timeout bug into a unit test 2011-12-16 14:16:32 -07:00
Simone Bordet
d52ed502b0 Sketch of test for idle expiration on SSL. 2011-12-16 21:26:37 +01:00
Simone Bordet
a88e2c5ebb Updated toString() implementations. 2011-12-16 20:53:15 +01:00
Greg Wilkins
bc48eb1f5b 366730 pass the time idle to onIdleExpire 2011-12-14 11:41:32 -08:00
Jan Bartel
468e6c284d 365267 NullPointerException in bad Address 2011-12-02 10:04:03 +11:00
Greg Wilkins
de005c68fd Revert "Merge branch 'release-8'"
This reverts commit 9e72457941e98eb2ee1adf64f2bc53160b01e34d, reversing
changes made to df12605f0e3e549c07c96968eedfd382fd6f274e.
2011-11-30 16:27:30 +11:00
Greg Wilkins
631b0ba1b6 [maven-release-plugin] prepare for next development iteration 2011-11-30 13:16:54 +11:00
Greg Wilkins
9d3745f999 [maven-release-plugin] prepare release jetty-8.1.0.RC0 2011-11-30 13:16:41 +11:00
Greg Wilkins
55d5020980 Merge remote-tracking branch 'origin/master' into jetty-8
Conflicts:
	VERSION.txt
	jetty-server/src/main/java/org/eclipse/jetty/server/AbstractHttpConnection.java
	jetty-server/src/main/java/org/eclipse/jetty/server/Response.java
	jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java
2011-11-29 09:06:25 +11:00
Greg Wilkins
b969de1788 organized imports 2011-11-28 15:32:14 +11:00
Greg Wilkins
ddce35a2e6 364638 SCEP does idle timestamp checking. New setCheckForIdle method controls onIdleExpired callback.
364921 a second onIdleExpired callback will result in close rather than a shutdown output.
2011-11-28 11:51:01 +11:00
Simone Bordet
cfef7c631b Made SslBytesClientTest more robust by avoiding a race in establishing connection with the proxy. 2011-11-24 23:08:57 +01:00
Simone Bordet
ccfbb3e623 Bumped number of parses to avoid test failures. 2011-11-24 22:34:30 +01:00
Simone Bordet
b3ae06888e First pass at implementing SSL bytes tests for the client. 2011-11-24 21:15:11 +01:00
Simone Bordet
8e913fe7c0 Fixed bug in AsyncEndPoint.hasProgressed() handling: the progressing status
must be remembered until a call to hasProgressed() is made.
Additional code cleanups.
2011-11-24 20:58:59 +01:00
Simone Bordet
c6103f2d53 Removed usages of ThreadDeath. 2011-11-24 20:39:04 +01:00
Simone Bordet
59c111bde1 Rewritten toString() methods using String.format(). 2011-11-24 15:20:06 +01:00
Simone Bordet
0b85184722 Added dump() code in case the test hangs, to understand why (still not clear). 2011-11-24 10:19:23 +01:00
Simone Bordet
8f1fff78c0 Improved dumping capabilities of HttpClient, and rewritten toString() methods using String.format(). 2011-11-24 10:16:19 +01:00
Greg Wilkins
eaa83f29d1 added trap for rare error 2011-11-23 09:39:31 +11:00
Simone Bordet
bff3a5e72e Disabled log debugging in SslBytesServerTest enabled in previous commit, and added check to not fail the tests if the JDK does not support TLS renegotiations. 2011-11-22 18:09:37 +01:00
Simone Bordet
a1eabe2b32 Enabled log debugging in SslBytesServerTest to see why it fails on CI. 2011-11-22 10:00:54 +01:00
Greg Wilkins
aa0b71f928 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2011-11-22 13:16:40 +11:00
Greg Wilkins
6cb2d13abd Client idle connection uses onIdleExpired rather than close 2011-11-22 12:57:32 +11:00