3602 Commits

Author SHA1 Message Date
Simone Bordet
c191304433 Refactored class name. 2012-02-14 17:41:39 +01:00
Simone Bordet
ff7414c893 Added utility method to return content as a string. 2012-02-14 17:36:40 +01:00
Simone Bordet
4af0a3e937 Fixed data frame parser in case of frames with length == 0. 2012-02-14 12:53:35 +01:00
Simone Bordet
dcdf54f557 GOAWAY messages were always generated in version 3 format. 2012-02-14 12:53:01 +01:00
Simone Bordet
9abc92145d Improved toString() using String.format() and improved logging and comments. 2012-02-14 12:52:19 +01:00
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
Joakim Erdfelt
4caf662182 Improve test failure on truncated Draft0 handshake read.
+ If a truncated response occurs, attempt to have the test case produce
  a meaningful response message indicating where/how the truncation
  occured, instead of just a 'read timeout'.
2012-02-13 11:46:20 -07:00
Joakim Erdfelt
e7608eafae Trying to get more information from failing Websocket Draft0 test failure 2012-02-13 11:06:02 -07: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
Jan Bartel
629c6c470a Ensure construction of fresh MongoSessionIdManager 2012-02-10 16:01:17 +11:00
Jan Bartel
41049826bb Fix misspelling of module name 2012-02-10 14:49:07 +11:00
Jan Bartel
4a180eef3b Move mongodb tests from jetty-nosql module to common test module. Activate during build with -Dmongodb.enabled=true 2012-02-10 14:19:13 +11:00
Jan Bartel
e1bbb73c11 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-02-10 12:29:13 +11:00
Jan Bartel
7aff671bae Tidy up session tests, add more comments. 2012-02-10 12:28:44 +11:00
Greg Wilkins
47c21e91a8 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-02-10 12:16:55 +11:00
Greg Wilkins
a4a5e56aeb 371162 NPE protection for nested security handlers 2012-02-10 11:58:19 +11:00
Joakim Erdfelt
f7fd3a4680 Bumping up socket read timeout and adding debug. 2012-02-09 15:39:49 -07:00
Simone Bordet
5074ce20fd Ignoring benchmark test. 2012-02-09 23:25:50 +01:00
Jesse McConnell
9ab7452f8f [Bug 371041] valid was not being set to new mongo db sessions, and the call to mongodb api was wrong in isIdInUse 2012-02-09 15:05:51 -06:00
Jesse McConnell
528c246163 [Bug 371040] nosqlsession needs to call correct super contructor for new
sessions
2012-02-09 12:54:46 -06:00
Jesse McConnell
d13599a1d1 add assertion that a new session is in fact new 2012-02-09 12:42:18 -06: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
Jan Bartel
b949fb7622 JETTY-1484 Add option for HashSessionManager to delete session files if it can't restore them 2012-02-09 19:21:10 +11:00
Jan Bartel
5f0fdb7d32 Rename jetty-jsp src/main/resource to src/main/resources 2012-02-09 08:15:59 +11:00
Simone Bordet
6ff0eb9cdc Improved tests. 2012-02-08 18:56:29 +01:00
Simone Bordet
c7814d88d7 Added factory method for HttpGenerator. 2012-02-08 18:45:24 +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
74faad2ef6 Merge branch 'spdy' 2012-02-07 14:06:25 +01:00
Simone Bordet
b0119e4d62 Forwarded HttpParser.EventHandler methods from the inner class to the outer class (AbstractHttpConnection itself)
to allow other protocols such as SPDY to fake the emission of HTTP events by calling the EventHandler methods.
2012-02-07 14:05:40 +01:00