Commit Graph

6077 Commits

Author SHA1 Message Date
Simone Bordet 756b13700b Handling properly connect exceptions, notifying the failure to the websocket client. 2012-12-12 18:34:22 +01:00
Simone Bordet 5f17509a18 Fixed handling of IPv6 destinations. 2012-12-12 14:54:58 +01:00
Simone Bordet 8d0c90eef9 Recreating the CookieManager if the CookieStore is changed. 2012-12-12 14:54:22 +01:00
Simone Bordet f3d53918b5 Guarding against NPE if the masker is null. 2012-12-12 14:14:18 +01:00
Simone Bordet b9b16529d5 Removed jetty-client's CookieStore to use java.net.CookieStore instead.
This unifies the usage of CookieStores between jetty-client and jetty-websocket, and hopefully other modules as well.
2012-12-12 10:18:18 +01:00
Simone Bordet fb233dbecb Exposed the Request passed to the constructor via a getter.
Subclasses can therefore pass a request built on-the-fly to the super constructor
and are able to get a reference to it.
2012-12-12 10:18:18 +01:00
Joakim Erdfelt 3fd59fa189 Rejecting BufferPool.release() of buffers below factor 2012-12-11 13:01:54 -07:00
Joakim Erdfelt 9a71d75003 Fixing threading issue in testcase 2012-12-11 13:01:54 -07:00
Simone Bordet 8e98148350 Introduced setQueue(), removed maxQueued() and renamed maxIdleTimeMs() to idleTimeout().
The reason for this change is that CometD needs a way to explicitly set the queue implementation
in load testing to measure latencies.
Property maxQueued was used to decide, at start time, what queue implementation to use, but
now that can be set explicitly with setQueue().
The rename was done because in all other places the idle timeout has been renamed so.
2012-12-11 14:45:43 +01:00
Jesse McConnell d161673ff7 Add masker to client factory 2012-12-11 07:44:52 -06:00
Jesse McConnell 0875b96e82 ignore test for time being 2012-12-10 12:30:53 -06:00
Jesse McConnell a2a5a97bfe add some methods to the ServletWebSocketRequest and rename one method 2012-12-10 12:16:06 -06:00
Joakim Erdfelt 4ff9c2cea1 Setting problematic test to @Ignore 2012-12-10 10:20:48 -07:00
Joakim Erdfelt baaf94eeae Fixing write of large websocket frames (25MB+)
+ Using ForkInvoker from util
+ Using FrameBytes logic from SPDY
+ Fixing bad flush logic
+ Fixing lazy BufferPool.release() logic
+ Fixing Buffer reuse issue
+ Fixing BlockheadServer to use ExtensionStack
+ Moving WriteResultFuture helper classes out of tests into main
+ Introducing common IOState handling for common close handshake use
2012-12-10 09:23:18 -07:00
Joakim Erdfelt 11d7617298 Including hashcode in BufferUtils.toDetailString() 2012-12-10 09:23:18 -07:00
Greg Wilkins 6f098dd69c jetty-9 use DateCache timer to set Date header once per second 2012-12-10 12:58:14 +11:00
Greg Wilkins aeade16b99 jetty-9 optimise generation of common fields 2012-12-09 09:46:50 +11:00
Greg Wilkins 979d6dbbf9 367638 throw exception for excess form keys 2012-12-08 10:05:32 +11:00
Simone Bordet d6bd9df93a Aborting the response if the content length limit is reached. 2012-12-07 16:42:25 +01:00
Simone Bordet 97a2f3328f Added CookieStore.removeCookie() method and implementation. 2012-12-07 16:42:25 +01:00
Greg Wilkins f01da31a0a jetty-9 some optimizations 2012-12-08 01:41:01 +11:00
Greg Wilkins 620d051087 jetty-9 recycle content-type 2012-12-08 01:41:01 +11:00
Greg Wilkins 3e151901bf jetty-9 Use public HttpField 2012-12-08 01:41:01 +11:00
Greg Wilkins a20d984d30 jetty-9 Added Trie for cached string lookup. HttpFields does not use StringMap 2012-12-08 01:41:00 +11:00
Thomas Becker dc2850c898 396036 SPDY send controlFrames even if Stream is reset to avoid breaking the compression context 2012-12-07 13:22:19 +01:00
Thomas Becker db6fdca3b9 395922: Unit test that checks if ControlFrameBytes are sent in the right order even with priorization 2012-12-07 11:39:53 +01:00
Jan Bartel e612c19eb7 JETTY-796 jetty ant plugin improvements 2012-12-07 16:27:17 +11:00
Jesse McConnell 53892b1d31 Update with setuid bits 2012-12-06 17:19:15 -06:00
Jesse McConnell 748282d6d3 set final dest name on linux so 2012-12-06 10:07:58 -06:00
Jesse McConnell eefb0bc8fd remove jetty-setuid from master and use the toolchain setuid in the distribution 2012-12-06 10:06:38 -06:00
Thomas Becker 98d17bdea9 395922: Avoid that SPDY frames containing headers are sent in another order than they have been created 2012-12-06 14:18:52 +01:00
Jesse McConnell ddb1a1b719 classifier->type 2012-12-04 20:11:25 -06:00
Jesse McConnell dcd13c02ce native->generated 2012-12-04 19:46:34 -06:00
Jesse McConnell 5d328b33c3 more dependency ordering 2012-12-04 18:55:40 -06:00
Jesse McConnell 835d65bb2d add in dependencies in profiles for setuid stuff so build ordering is correct 2012-12-04 18:11:47 -06:00
Jesse McConnell 7856bbed31 double paste in link options 2012-12-04 17:34:09 -06:00
Jesse McConnell 10be4297b9 fix linux build 2012-12-04 17:32:51 -06:00
Jesse McConnell 38f633361a remove antrun bits from pom 2012-12-04 17:11:40 -06:00
Jesse McConnell 4ff82fb8fe fix test dependency 2012-12-04 17:08:01 -06:00
Jesse McConnell d35cc0bf59 fix test issue on linux 2012-12-04 17:06:36 -06:00
Jesse McConnell ec4d926b4b [Bug 395649] add jetty-setuid back into jetty 9 and distribution 2012-12-04 16:52:26 -06:00
Joakim Erdfelt 7abd512b32 391623 - Making --stop with STOP.WAIT perform graceful shutdown
+ Moving jetty-start Monitor to jetty-server ShutdownMonitor and
  using ShutdownThread to perform a graceful shutdown instead.
2012-12-04 10:18:54 -07:00
Simone Bordet b2e878a7e8 + Introduced Request.content(ContentProvider content, String contentType)
+ Introduced a new renamings to clarify concepts
+ Vastly improved Javadocs.
2012-12-04 16:18:09 +01:00
Jan Bartel 6bc507c3af 395574 port jetty-runner and StatisticsServlet to jetty-9 2012-12-04 18:22:26 +11:00
Joakim Erdfelt 7488452e8a Adding some debugging 2012-12-03 14:55:22 -07:00
Joakim Erdfelt 57849a905f Adding -Dtest.slow.destroy support to CookieDump to aid in testing of
start.jar -DSTOP.WAIT=360 --stop
2012-12-03 13:04:03 -07:00
Joakim Erdfelt 7c0f7cc8f4 Fixing for JDK5. 2012-12-03 12:55:37 -07:00
Jesse McConnell 89e5fc93dc [Bug 395605] class cast exception in XMLConfiguration fixed 2012-12-03 08:42:06 -06:00
Thomas Becker e909bc4bc5 Fix WriteFlusher javadoc 2012-12-03 13:55:41 +01:00
Thomas Becker efc1a3e98f Fix javadoc in Stream.java and logging if a Stream is committed twice 2012-11-30 13:55:09 +01:00