Commit Graph

1308 Commits

Author SHA1 Message Date
Greg Wilkins c3776764f4 jetty-9 ConcurrentScheduler refinements 2012-09-03 15:24:36 +10:00
Greg Wilkins 83dbca6553 jetty-9 reworked the schedulers 2012-08-31 13:22:58 +10:00
Simone Bordet 8920cd16b6 Jetty9 - Ported the HTTP SPDY Proxy code. 2012-08-29 18:12:28 +02:00
Simone Bordet 4180db6fae Jetty9 - Removed unnecessary _server field. 2012-08-29 18:09:18 +02:00
Thomas Becker 8fbe6c59d5 jetty-9 merge 2012-08-29 17:27:26 +02:00
Thomas Becker fe88df1def jetty-9 move SimpleHttpParser and SimpleHttpResponse to jetty-test-helper 2012-08-29 15:53:51 +02:00
Simone Bordet 1191f5ab5d Jetty9 - Added copyright header. 2012-08-28 21:57:09 +02:00
Simone Bordet d84eee0b46 Jetty9 - Reverted AbstractConnector to use MappedByteBufferPool, as ArrayByteBufferPool is leaking buffers. 2012-08-28 18:14:22 +02:00
Simone Bordet 7bbd9675cc Jetty9 - Fixed test making it more reliable. 2012-08-28 12:48:37 +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 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
Greg Wilkins 9a1a020f0e jetty-9 renamed HttpTransport.{commit|write} to send 2012-08-27 14:43:29 +10:00
Greg Wilkins d8b287134f jetty-9 improved range request processing and tests 2012-08-27 12:17:40 +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
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
Simone Bordet 8c9d4089ed Jetty9 - Fixed and cleaned up tests to make them pass. 2012-08-23 20:36:54 +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
Simone Bordet e74a5cd105 Jetty9 - Remembering the content written also in case of aggregation. 2012-08-23 15:08:36 +02:00
Simone Bordet f4fd02975d Jetty9 - The output type should be set _after_ calling setCharacterEncoding(). 2012-08-23 14:51:54 +02:00
Greg Wilkins c50e7ff742 jetty-9 moved connection:close handling to HttpChannelOverHttp 2012-08-23 19:58:42 +10:00
Greg Wilkins aaa7bf08b6 jetty-9 handle generator IOErrors 2012-08-23 18:32:34 +10:00
Greg Wilkins d59a47d376 jetty-9 simplified error handling 2012-08-23 17:32:10 +10:00
Greg Wilkins cd719bf979 jetty-9 cleanups and fixes after refactor 2012-08-23 14:07:10 +10:00
Greg Wilkins 74e632cd34 jetty-9 fixed some test fails after refactor 2012-08-23 08:39:05 +10:00
Simone Bordet ab5c8ee508 Jetty9 - More work on parser reentrancy, but more work needed. 2012-08-22 16:46:52 +02:00
Simone Bordet c6094c2398 Jetty9 - Small cleanups. 2012-08-22 11:58:21 +02:00
Simone Bordet 783a296bc5 Jetty9 - Removed redundant field and cleaned up code. 2012-08-22 10:29:41 +02:00
Simone Bordet fa06ae9762 Jetty9 - Removed old code not used anymore, greatly simplifying the implementation. 2012-08-22 09:39:03 +02:00
Simone Bordet 71e7f519c7 Jetty9 - Refactored error handling logic. 2012-08-21 23:40:08 +02:00
Simone Bordet dc140f85b7 Jetty9 - Refactored HttpChannel: moved connection logic back to HttpConnection. 2012-08-21 15:09:54 +02:00
Simone Bordet 21494f97bb Jetty9 - Refactored commit logic into HttpChannel. 2012-08-20 18:32:41 +02:00