3559 Commits

Author SHA1 Message Date
Thomas Becker
9f68c6e6bf 369214: HotSwapHandler uses AggregateLifeCycles.addBean() 2012-03-01 15:32:22 +01:00
Thomas Becker
ab5592daf0 369214: HotSwapHandler code format 2012-03-01 15:32:22 +01:00
Thomas Becker
04c679dddb 372115: added some braces to oneline if stmts of AsyncContextTest.java 2012-03-01 15:15:10 +01:00
Thomas Becker
54262c4ba5 372115: codeformat of AsyncContextTest.java 2012-03-01 15:15:04 +01:00
Thomas Becker
3a94e45050 372115: Cleanup of AsyncContextTest.java 2012-03-01 15:14:56 +01:00
Jesse McConnell
56b6954af3 nop change 2012-03-01 08:09:37 -06:00
Thomas Becker
492cc7508a 370842: X-Forwarded-Host header is now set by request.getHeader(Host) which doesn't ommit the port information 2012-03-01 15:04:31 +01:00
Simone Bordet
0161f780c9 Updated idle timeout checking.
Now that applications are notified in a different thread, idleness becomes an event
and therefore a new IdleListener interface has been introduced and implemented.
2012-03-01 15:02:35 +01:00
Simone Bordet
e8d09fad53 Updated idle timeout checking.
Now that applications are notified in a different thread, idleness becomes an event
and therefore a new IdleListener interface has been introduced and implemented.
2012-03-01 14:59:30 +01:00
Simone Bordet
49bb4f8e8b Improved notification of Handler methods by catching and logging exceptions,
and by notifying them asynchronously to avoid stack overflows.
2012-03-01 12:57:37 +01:00
Simone Bordet
5f61ffc024 Better choice for direct ByteBuffer size. 2012-03-01 12:56:18 +01:00
Simone Bordet
f4e4effe50 DataInfo javadocs + modified slightly the API for helper methods, passing a boolean telling to read or consume the bytes. 2012-03-01 11:47:51 +01:00
Jan Bartel
5c0c8c7e73 371168 Update ClientCrossContextSessionTest 2012-03-01 17:43:38 +11:00
Jan Bartel
97c37f68ba 372487 JDBCSessionManager does not work with Oracle 2012-03-01 17:05:54 +11:00
Jesse McConnell
1e6b5d4123 nop commit 2012-02-29 10:08:10 -06:00
Simone Bordet
f9345bdc84 Made Settings.ID open to unknown codes, and implemented SPDY v3 format. 2012-02-29 11:52:19 +01:00
Simone Bordet
074e8be054 Javadocs clarification on data(). 2012-02-29 11:00:45 +01:00
Simone Bordet
7d7e524385 Improved tests. 2012-02-29 11:00:24 +01:00
Jan Bartel
c95da2aa18 372806 Command line should accept relative paths for xml config files 2012-02-29 18:09:29 +11:00
Simone Bordet
ae0a155a39 Cosmetics. 2012-02-29 00:47:32 +01:00
Simone Bordet
3b8c6dfd4c Revised exception handling. 2012-02-29 00:43:17 +01:00
Simone Bordet
1238de8a28 Improved test. 2012-02-29 00:33:57 +01:00
Simone Bordet
43623829bc Better toString(). 2012-02-29 00:33:37 +01:00
Simone Bordet
ca9b6ebd2c Moved Session.flush() to ISession: applications do not get any benefit from calling flush(). 2012-02-29 00:33:22 +01:00
Simone Bordet
95ffdd8feb Fixed dispatching of data frames in another thread. 2012-02-29 00:32:33 +01:00
Simone Bordet
9575e8a7d2 Added comment on flow control policy. 2012-02-28 23:47:06 +01:00
Simone Bordet
17bb26f053 Better implementation for flow control.
Now DataInfo has an API for performing 2 distinct operations: reading and consuming.
The WINDOW_UPDATE message is sent only when the bytes are consumed and not
when the application callback returns (possibly without having neither read nor
consumed the bytes).
2012-02-28 23:41:46 +01:00
Simone Bordet
b1ef0e87c9 Reviewed use of StreamException and SessionException. 2012-02-28 17:40:03 +01:00
Simone Bordet
3f1c7aa102 Rethrowing SPDYException in case of stream exception. 2012-02-28 17:09:52 +01:00
Simone Bordet
8392dab7b4 Removed read buffers, since we do not need anymore reentrant parsing because we now call the application in a different thread. 2012-02-28 17:02:23 +01:00
Simone Bordet
50ead5c19c Synchronized the generation and enqueuing of control frames, in order to maintain a correct compression context. 2012-02-28 17:01:30 +01:00
Simone Bordet
980d728502 Implemented asynchronous notifications of frame listener callbacks. 2012-02-28 15:32:51 +01:00
Simone Bordet
0a276ed909 Renamed class. 2012-02-28 12:16:49 +01:00
Simone Bordet
8c209c1f73 Refactored order of parameters. 2012-02-28 12:16:10 +01:00
Simone Bordet
0dbcaff911 Implemented support for async write timeouts. 2012-02-28 11:19:33 +01:00
Simone Bordet
a26ae22e3f Updated API to support async write timeouts. 2012-02-28 09:57:44 +01:00
Simone Bordet
0be2ae4754 Temporary commit. 2012-02-28 09:35:44 +01:00
Simone Bordet
a07a7525ff Fixed ClassCastExceptions. 2012-02-28 09:35:09 +01:00
Simone Bordet
268e8bdbd7 Better closes for SSL. 2012-02-28 09:34:49 +01:00
Simone Bordet
556ff1a2c6 372457 - Big response + slow clients + pipelined requests cause Jetty spinning and eventually closing connections.
Added a TODO for a method renaming that will happen in the next major release (to avoid break implementers).
2012-02-28 09:21:52 +01:00
Greg Wilkins
4530cf9e0c 372115: set pathInContext for suspend with request (without debug) 2012-02-28 13:28:58 +11:00
Greg Wilkins
763bd6b190 372115: set pathInContext for suspend with request 2012-02-28 13:25:45 +11:00
Simone Bordet
ced68ab29b Implemented execution of HTTP over SPDY requests in their own threads.
The model was such one thread performed the parsing of the SYN requests
and invoked the application.
But if a SYN request was blocked in a servlet, then other SYN requests could
not be parsed because the thread was blocked in the servlet.
With these fixes, now a single thread parses SYN requests, but the application
is invoked in another thread, freeing the first thread that can now parse more
SYN requests.
2012-02-27 21:42:29 +01:00
Simone Bordet
e47b9f1630 Consolidated flush() calls into StandardSession.control() to avoid code duplications. 2012-02-27 21:30:43 +01:00
Simone Bordet
79f739799f Better logging. 2012-02-27 21:26:48 +01:00
Simone Bordet
2b5be71ad2 Javadocs. 2012-02-27 21:26:27 +01:00
Greg Wilkins
8e1b863deb 371903: modified patch for jetty-7 2012-02-27 18:45:19 +11:00
Thomas Becker
265d35324a 371903: Implement servlet 3.0 spec change (spec section 9.4) to not commit response in Dispatcher.forward() when request.isAysncStarted()
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2012-02-27 16:46:15 +11:00
Greg Wilkins
7a58f3408e 371635: set all async attributes when the request is suspended 2012-02-27 16:32:50 +11:00
Simone Bordet
10d5d4acac Sending GOAWAY when stopping SPDYServerConnector and SPDYClient.Factory. 2012-02-26 00:54:14 +01:00