Commit Graph

3723 Commits

Author SHA1 Message Date
Joakim Erdfelt 0315655b27 Trying to work out why gzip decompress isn't working 2012-02-16 14:26:50 -07:00
Joakim Erdfelt 766ff7cf19 Bug 371798 - potential pipelining issue
+ Adding testcase for gzip + pipelining issue reported in bugzilla.
  Created scenario where 2 requests are made, with 2nd request
  overlapping the first response.  The first response is also gzip'd
2012-02-16 14:08:21 -07:00
Jesse McConnell 566eec65ce Merge branch 'release' 2012-02-15 15:21:18 -06:00
Jesse McConnell 56f72e6fa9 update version 2012-02-15 15:20:50 -06:00
Jesse McConnell efb6883cf0 [maven-release-plugin] prepare for next development iteration 2012-02-15 14:22:19 -06:00
Jesse McConnell baf2b94f77 [maven-release-plugin] prepare release jetty-7.6.1.v20120215 2012-02-15 14:22:12 -06:00
Jesse McConnell aef2b8f03c Merge branch 'master' into release 2012-02-15 13:59:27 -06:00
Jesse McConnell e0d7337fa3 Updating VERSION.txt top section 2012-02-15 13:58:49 -06:00
Simone Bordet 77cdee95ce Implemented atomic update of the last good stream. 2012-02-15 19:17:22 +01:00
Simone Bordet 176230c344 Updated the API to support fully asynchronous API usage. 2012-02-15 19:04:58 +01:00
Simone Bordet 433de85fda Extracted FrameListeners into their own classes for clarity. 2012-02-15 13:00:19 +01:00
Simone Bordet f4d0d4fa96 Reduced logging level for tests. 2012-02-15 11:50:41 +01:00
Simone Bordet 08b32f8731 Javadocs and API simplification. 2012-02-15 11:49:26 +01:00
Simone Bordet 5fef14e947 Reviewed API and removed the need to specify a version parameter for most Session methods.
This accomplishes two goals: the first is to simplify the API, and the second is that the headers
compression dictionary is likely to change in SPDY v3, and therefore it makes impossible to speak
different SPDY versions on the same session.
2012-02-15 11:08:14 +01:00
Simone Bordet a994ac0aa0 Javadocs. 2012-02-15 10:33:21 +01:00
Simone Bordet e9f644474f Added .gitignore file. 2012-02-15 00:24:19 +01:00
Simone Bordet 2ed333d3a5 Added some content in the web application, to test that SPDY works. 2012-02-15 00:21:42 +01:00
Simone Bordet c6f83ec1b7 Added test for the HTTP layer in case of content bypass. 2012-02-14 23:32:30 +01:00
Simone Bordet adeb18093b Made _bypass field protected.
This is needed because the _content field is also protected, and subclasses
may need to know if the generator is in bypass mode (and therefore access
the _content buffer directly).
2012-02-14 23:05:41 +01:00
Simone Bordet f33a0deee2 Fixed handling of "url" header (now ignored since Chromium does not send it as absolute URL),
and added handling of "host" header (sent by Chromium).

Also fixed handling of "bypass" content, that is content that is directly sent to clients without
being buffered (such as images, CSS, and others).
2012-02-14 23:03:10 +01:00
Simone Bordet c8dcaacdff Implemented the HTTP layering over SPDY, server-side. 2012-02-14 17:49:53 +01:00
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