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
Simone Bordet
6ed95152dd
Removed TODOs.
2012-02-25 22:58:43 +01:00
Simone Bordet
2ce29b740d
Implemented synthetic data frames to avoid copying data bytes in case of split frames.
2012-02-25 15:07:03 +01:00
Simone Bordet
d43ac786a8
Removed TODOs about data compression, since it's being dropped from the spec.
2012-02-25 14:23:15 +01:00
Simone Bordet
33fdb32bff
Implemented usage of SPDY v3 compression dictionary.
2012-02-24 19:14:58 +01:00
Simone Bordet
34509312f0
Reworked API for settings, to make it simpler and more usable.
2012-02-24 16:52:42 +01:00
Simone Bordet
226b180bfd
Renamed inner class: Mapper --> Codes.
2012-02-24 16:52:06 +01:00
Simone Bordet
04f74816b5
Fixed conformance with SPDY v2.
2012-02-24 15:30:47 +01:00
Simone Bordet
3f5a35024e
Improved sample webapp, now to be run using mvn jetty:run-forked
...
and working with out-of-the-box Chromium.
2012-02-24 14:18:50 +01:00
Simone Bordet
2640e80101
Introduced default AsyncConnectionFactory in SPDYServerConnector, to fallback
...
to a default protocol in case of A) non-SSL connection, and B) no NPN.
2012-02-24 14:17:47 +01:00
Simone Bordet
f87cd6d1ba
Made reads quicker to avoid that tests last forever.
2012-02-24 11:56:40 +01:00
Simone Bordet
2e66e54425
370387 - SafariWebsocketDraft0Test failure during build.
...
The reason for the failure of this test was that a BufferedReader was used to read the header lines.
However, the buffered reader may have read and buffered also the hixie bytes and subsequently,
when the test was trying to read the hixie bytes directly from the input stream (and not from the
buffered reader), the read was timing out.
Fixed by always using the input stream to read the header and hixie bytes.
2012-02-24 11:26:50 +01:00
Simone Bordet
3a82176531
Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project
2012-02-24 10:40:39 +01:00
Simone Bordet
c9c5bd3b47
372457 - Big response + slow clients + pipelined requests cause Jetty spinning and eventually closing connections.
2012-02-24 10:40:22 +01:00
Simone Bordet
94d5bccbd3
Removed temporary test.
2012-02-24 00:50:29 +01:00
Simone Bordet
cb1be263c4
Updated to correct version of NPN artifact.
...
Implemented plain HTTP AsyncConnectionFactory and tested protocol negotiation.
2012-02-24 00:48:26 +01:00
Simone Bordet
7be63d7f76
Simplified Handler by removing the context parameter from failed().
2012-02-24 00:46:32 +01:00
Simone Bordet
e1e9aa1ad5
Simplified Handler by removing the context parameter from failed().
2012-02-24 00:45:40 +01:00
Simone Bordet
f4f04f8fcf
Added putters and removers for AsyncConnectionFactory.
2012-02-23 23:27:23 +01:00
Simone Bordet
8f3f34633d
Simplified Handler by removing the context parameter from failed().
2012-02-23 23:24:56 +01:00
Simone Bordet
4bcd7548d9
Improvements to SettingsInfo.
2012-02-23 17:58:35 +01:00
Jesse McConnell
b29f371758
add close boolean to govern Connection: setting on requests in test
2012-02-23 08:03:44 -06:00
Jesse McConnell
23a2081168
add close boolean to govern Connection: setting on requests in test
2012-02-23 07:54:40 -06:00
Simone Bordet
726fda5593
Javadocs.
2012-02-22 23:47:45 +01:00
Thomas Becker
8de385992e
372256: fix if clause doing an || instead of && and thus always calling instanceOf on null values
2012-02-22 14:42:11 -06:00
Simone Bordet
111ae7fa1a
Removed assumption for test run: now NPN does not need an agent anymore.
2012-02-22 21:12:43 +01:00
Simone Bordet
81b4b1cbcd
Updated to Jetty 7.6.1.
2012-02-22 21:11:52 +01:00