Commit Graph

5286 Commits

Author SHA1 Message Date
Simone Bordet 6601b65162 Jetty9 - Made the test more reliable and marked it as slow. 2012-08-28 11:56:22 +02:00
Simone Bordet 7a1faf3c08 Jetty9 - Start counting for idleness when we register read interest.
Otherwise it was possible that the endPoint was created, upon creation
it started counting for idleness, after a while read interested was set
and the endPoint idle timed out before having the chance to read.
2012-08-28 11:55:01 +02:00
Simone Bordet 156f07d493 Jetty9 - Greatly simplified HttpChannelOverSPDY.
Removed old code that was not necessary anymore.
2012-08-28 09:33:11 +02:00
Simone Bordet 34ee7101cc Jetty9 - Added calls to notify() also when calling shutdown() and earlyEOF(), to wake up threads waiting in blockForContent().
Also improved the blockForContent() loop condition, to exit when a shutdown or earlyEOF happens.
2012-08-28 09:31:30 +02:00
Simone Bordet 0acf2f9650 Jetty9 - Generified HttpChannel and HttpParser listeners to follow the generification of HttpInput. 2012-08-28 09:29:08 +02:00
Simone Bordet 5e4a2508b1 Jetty9 - Removed System.err.println(). 2012-08-27 17:34:46 +02:00
Simone Bordet a224a8e962 Jetty9 - Ignored two tests because the functionality they test is not yet implemented. 2012-08-27 17:21:58 +02:00
Simone Bordet edd40ec299 Jetty9 - Fixed ProtocolNegotiationTest and additional minor cleanups/logging/comments. 2012-08-27 17:13:38 +02:00
Simone Bordet c2095d7170 Jetty9 - Moved wiring of SslConnection out of HttpServerConnectionFactory.
The wiring of SslConnection in HttpServerConnectionFactory was not the
right place because a ConnectionFactory should just create the Connection
instances, not also wiring them up.
It is responsibility of the connector to wire the SslConnection in.
Moving the wiring outside HttpServerConnectionFactory fixed also a few
SPDY tests, where the wiring was already done outside (and therefore
was done twice).
2012-08-27 17:07:00 +02:00
Simone Bordet 1a2266b1b8 Jetty9 - Fixed test by specifying hardcoded idle timeout to avoiding NPE. 2012-08-27 16:58:29 +02:00
Simone Bordet a935c26764 Jetty9 - Fixed typo. 2012-08-27 16:32:01 +02:00
Simone Bordet bc0f9cd9e6 Jetty9 - Made test more robust. 2012-08-27 09:21:56 +02:00
Simone Bordet 5a3a25c880 Jetty9 - Logging idle timeouts. 2012-08-27 09:21:35 +02:00
Simone Bordet 7b58c584b9 Jetty9 - Fixed tests: now creating a connector requires an instance of Server, otherwise throws an NPE. 2012-08-27 08:38:27 +02:00
Greg Wilkins 9a1a020f0e jetty-9 renamed HttpTransport.{commit|write} to send 2012-08-27 14:43:29 +10:00
Greg Wilkins 838ddcd444 jetty-9 wider test margin for DoSfilterTest 2012-08-27 14:01:26 +10:00
Greg Wilkins 6e9bea1938 jetty-9 gzip tests handle HTTP/1.0 EOF content 2012-08-27 13:35:31 +10:00
Greg Wilkins 54d6739879 jetty-9 improved test speed 2012-08-27 12:41:36 +10:00
Greg Wilkins d8b287134f jetty-9 improved range request processing and tests 2012-08-27 12:17:40 +10:00
Greg Wilkins 6d2fb580a1 jetty-9 fixed dispatcher tests. These have been wrong since 7? 2012-08-27 11:20:10 +10:00
Greg Wilkins 353978726b jetty-9 reverted isHead change 2012-08-27 11:14:19 +10:00
Greg Wilkins cb5dd493fb jetty-9 merged jetty-9-aggregation 2012-08-27 10:24:34 +10:00
Simone Bordet c743bf4081 Jetty9 - Using the correct length when copying bytes, otherwise BufferUnderflowExceptions are thrown. 2012-08-25 10:43:39 +02:00
Simone Bordet cda0528625 Jetty9 - Second draft of SPDY wiring: more test cases pass, still work to do. 2012-08-24 19:36:10 +02:00
Simone Bordet 6b3d5f5390 Jetty9 - First draft of SPDY wiring: most test cases pass, still work to do. 2012-08-24 16:18:53 +02:00
Greg Wilkins 726898ffd8 jetty-9 fixed after merged 2012-08-24 20:39:03 +10:00
Simone Bordet 171ad66962 Fixed compilation errors after merging branch 'jetty-9-aggregation' into jetty-9-spdy-http 2012-08-24 12:20:44 +02:00
Greg Wilkins 72bfacd5a4 Merge branch 'jetty-9' into jetty-9-aggregation 2012-08-24 20:17:08 +10:00
Greg Wilkins 1d654a08cf jetty-9 restructured graceful shutdown 2012-08-24 20:16:23 +10:00
Simone Bordet 06b2de17d5 Merge branch 'jetty-9-aggregation' into jetty-9-spdy-http 2012-08-24 11:52:29 +02:00
Greg Wilkins e92006390e jetty-9 avoid SSL close issues with bad request responses 2012-08-24 18:06:32 +10:00
Greg Wilkins 112ee65dcc jetty-9 improved SSL shutdown input 2012-08-24 17:58:52 +10:00
Greg Wilkins c707ba11d1 jetty-9 improved SSL shutdown input 2012-08-24 17:56:22 +10:00
Greg Wilkins fac03a306b jetty-9 more server test fixes 2012-08-24 16:53:36 +10:00
Greg Wilkins 42f998fa1a jetty-9 fixed RFC2616 tests 2012-08-24 10:13:53 +10:00
Joakim Erdfelt 6807f5fab7 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-08-23 16:12:36 -07:00
Joakim Erdfelt afbaa78e66 Marking client tests appropriately 2012-08-23 16:12:17 -07:00
Jesse McConnell f96576fdda [Bug 387928] retire jetty-ajp 2012-08-23 14:10:05 -05:00
Jesse McConnell 6dadf2a8a4 [Bug 387928] retire jetty-ajp 2012-08-23 14:09:29 -05:00
Simone Bordet 8c9d4089ed Jetty9 - Fixed and cleaned up tests to make them pass. 2012-08-23 20:36:54 +02:00
Simone Bordet a3993f793d Jetty9 - Returning 413 and not 414 when the request headers are too large. 2012-08-23 20:36:08 +02:00
Simone Bordet 5672a31432 Jetty9 - Fixed tests. 2012-08-23 18:37:55 +02:00
Simone Bordet 90029a14eb Jetty9 - Added and used shortcut method getByteBufferPool() in place of getConnector().getByteBufferPool(), also used by tests. 2012-08-23 18:36:28 +02:00
Simone Bordet c009cef661 Jetty9 - Improved tests to make them pass. 2012-08-23 18:05:43 +02:00
Simone Bordet 7a5997df9d Jetty9 - Fixed a couple of tests (bad copy/paste) and ignored 2 tests due to pending considerations about how to properly handle 100-Continue. 2012-08-23 17:18:29 +02:00
Simone Bordet f118c77f90 Jetty9 - Resetting the commit status when sending 1xx responses. 2012-08-23 17:17:13 +02:00
Simone Bordet f48f98b4d4 Jetty9 - Improved tests. 2012-08-23 16:10:58 +02:00
Simone Bordet 1ecc3c19f2 Jetty9 - Calling response.sendError() in case of application exceptions only if not committed already. 2012-08-23 16:10:35 +02:00
Simone Bordet 3b9baad1f0 Jetty9 - Improved exception message. 2012-08-23 16:09:10 +02:00
Simone Bordet 85ffa8807e Jetty9 - Cleaned up and fixed the failing tests. 2012-08-23 15:09:09 +02:00