Commit Graph

55 Commits

Author SHA1 Message Date
Simone Bordet 1c18cba38a Fixed more bugs in flow control. 2012-02-14 10:23:18 +01:00
Simone Bordet 3660537151 Fixed a few bugs in flow control. 2012-02-13 21:44:46 +01:00
Simone Bordet df47105da1 More tests for the generation of responses. 2012-02-13 14:29:05 +01:00
Simone Bordet 4c691c628b Added test logging. 2012-02-13 14:28:36 +01:00
Simone Bordet 623ebc3a21 Cleanups and added webapp module for testing with jetty:run. 2012-02-10 17:43:07 +01:00
Simone Bordet 773f3202f8 Refactored project into modules, splitting the Jetty binding and the HTTP layer. 2012-02-10 15:38:22 +01:00
Simone Bordet 48cc0d33bf Refactored project into modules, splitting the HTTP layer. 2012-02-10 14:57:03 +01:00
Simone Bordet ba25a485f2 Added HTTP over SPDY server connector, improved test case base class, improved pom.xml. 2012-02-10 12:47:20 +01:00
Simone Bordet d6ec06c5c3 Change the state machine operation so that now handle() is called to manage the connection state machine.
This allows to set the current connection in a thread local for usage within Jetty.
2012-02-10 12:46:19 +01:00
Simone Bordet 5074ce20fd Ignoring benchmark test. 2012-02-09 23:25:50 +01:00
Simone Bordet 7b30b760a3 Implemented idle timeout.
When the idle timeout expires, SPDY will send a GO_AWAY and close the connection.
2012-02-09 18:50:27 +01:00
Simone Bordet 5b4eec8a3d Cosmetics. 2012-02-09 18:49:06 +01:00
Simone Bordet a841cfce36 Base test class improvements. 2012-02-09 18:48:31 +01:00
Simone Bordet c618e9a90f Moved compression dictionary constant out of the API. 2012-02-09 15:48:57 +01:00
Simone Bordet f03ef7af4e Clarified comment. 2012-02-09 15:48:01 +01:00
Simone Bordet f1e1113a58 Finished test implementation. 2012-02-09 15:47:39 +01:00
Simone Bordet 2dd0ec003c Added support for reentrant parsing. 2012-02-09 14:24:32 +01:00
Simone Bordet dc1e8350b2 More tests for the HTTP over SPDY layer. 2012-02-09 11:03:13 +01:00
Simone Bordet 5db861c0c8 Guarded against NPE. 2012-02-09 11:02:47 +01:00
Simone Bordet 6ff0eb9cdc Improved tests. 2012-02-08 18:56:29 +01:00
Simone Bordet 48fa5ce855 Improved the HTTP over SPDY layer to support content, and content in multiple chunks. 2012-02-08 18:44:04 +01:00
Simone Bordet 9316a9601b More tests for the HTTP over SPDY layer. 2012-02-08 09:29:08 +01:00
Simone Bordet 81a8c57e3b Fixed close of connection upon GO_AWAY frames. 2012-02-07 21:52:34 +01:00
Simone Bordet a8770204b1 Renamings. 2012-02-07 16:56:32 +01:00
Simone Bordet 3ca69de16a Replaced usage of hardcoded protocol versions with constant. 2012-02-07 16:36:17 +01:00
Simone Bordet cf5db008de Refactored mapping of AsyncConnectionFactories with protocol names. 2012-02-07 16:16:09 +01:00
Simone Bordet d21ce5599a Initial implementation of the HTTP over SPDY layer. 2012-02-07 15:17:45 +01:00
Simone Bordet 4a03daa3c2 Added micro benchmark for header parse performance. 2012-02-06 11:43:15 +01:00
Simone Bordet 54bb55e381 Updated copyright headers. 2012-02-01 21:54:20 +01:00
Simone Bordet 765634da90 README information. 2012-02-01 21:51:27 +01:00
Simone Bordet 3de46b4006 Merge branch 'master' of github.com:intalio/jetty-spdy 2012-02-01 21:49:06 +01:00
Greg Wilkins 31cbef3b29 create repo 2012-02-01 10:10:18 +11:00
Simone Bordet b8a5d9062f Fixed update of stream closed status in case of data frames.
It was possible that a client sent a data frame with close=true, but the half close of the
stream was delayed until after all the data bytes were sent.
The server received the data bytes and sent a reply with close=true that could have been
processed before the stream was actually half closed by the data frame delayed update,
and this generated a race condition.
Now the close status is updated before sending the data (like all other frames), but the
stream is removed only when data has been fully sent.
2012-01-30 21:14:03 +01:00
Simone Bordet 4cbca7a664 Added test method rule. 2012-01-30 21:06:57 +01:00
Simone Bordet d79b511507 Notifying onConnect(Session) from the SPDY connection on first call to handle(). 2012-01-30 20:35:51 +01:00
Simone Bordet 7da429ce7a Cosmetics. 2012-01-30 17:34:25 +01:00
Simone Bordet 7260640251 Introduced NPN support in the server. 2012-01-30 17:34:13 +01:00
Simone Bordet 9dfb728fc8 Updated to Jetty 7.6.0 final. 2012-01-30 16:25:05 +01:00
Simone Bordet 233c32e9f3 Introduced NPN support in the client. 2012-01-30 16:23:59 +01:00
Simone Bordet 000b635a12 Corrected server-side plumbing of endpoints and connections. 2012-01-28 16:04:38 +01:00
Simone Bordet 2e16ce6bf2 Fixed test. 2012-01-28 16:04:24 +01:00
Simone Bordet 33968638bb Corrected client-side plumbing of endpoints and connections. 2012-01-28 15:59:34 +01:00
Simone Bordet ffe10f3cf8 Added SSL support. 2012-01-27 22:02:39 +01:00
Simone Bordet 298605aebd Fixed test. 2012-01-27 21:33:41 +01:00
Simone Bordet 6d0bcc6a54 Improved logging. 2012-01-27 21:28:43 +01:00
Simone Bordet 3e3f9f181b Added TODO for an optimization. 2012-01-27 21:28:18 +01:00
Simone Bordet 2f58b6980a Improved test to guard against race condition. 2012-01-27 13:42:59 +01:00
Simone Bordet b91f9d0dbc Logging at INFO level. 2012-01-27 13:42:33 +01:00
Simone Bordet 29c98f4b37 Processing of frames is now done only if we did not send go_away. 2012-01-27 13:42:13 +01:00
Simone Bordet 2b6d997320 Added NPE guard. 2012-01-27 13:41:21 +01:00