1409 Commits

Author SHA1 Message Date
Thomas Becker
3c952da6ed Merge branch 'master' of ssh://git.eclipse.org:29418/jetty/org.eclipse.jetty.project 2012-08-28 13:58:05 +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
Jesse McConnell
cf1337264b [Bug 388073] null session id from cookie causes NPE fixed 2012-08-27 11:32:12 -05: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
Thomas Becker
77c03ad45f 388079: AbstractHttpConnection. Flush the buffer before shutting output down on error condition 2012-08-27 12:02:50 +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
Jesse McConnell
fd1ab0ed55 merge from master 2012-08-23 16:44:30 -05:00
Simone Bordet
8c9d4089ed Jetty9 - Fixed and cleaned up tests to make them pass. 2012-08-23 20:36:54 +02:00
Thomas Becker
9173751438 387919: throw EOFException on early eof from client on http requests 2012-08-23 19:36:49 +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
Greg Wilkins
df5e09df71 removed debugging 2012-08-20 23:32:26 +10:00
Greg Wilkins
325bfc290d jetty-9 work in progress on moving aggregation out of HttpChannel 2012-08-20 20:43:10 +10:00
Greg Wilkins
9080882900 jetty-9 do not recyle Response Writers 2012-08-20 20:35:15 +10:00