Greg Wilkins
4d34e83c1c
jetty-9 replaced Trie with indexed implementation
2012-12-17 19:21:28 +11:00
Greg Wilkins
3ce8c2ba58
jetty-9 recycle response print writers
2012-12-17 16:02:06 +11:00
Jan Bartel
2966192aa4
395794 NullPointerException in when requesting a file without extension
2012-12-17 13:58:39 +11:00
Jan Bartel
930f567c32
396687 missing jetty-io dependency in jetty-servlets
2012-12-17 13:26:10 +11:00
Greg Wilkins
c87ebcb4a5
jetty-9 avoid additional dispatch for pipelined requests to optimize pipeline handling
2012-12-17 11:35:26 +11:00
Joakim Erdfelt
ca1c3db642
Removing WriteResult class
2012-12-14 16:12:48 -07:00
Joakim Erdfelt
e308f843db
Replacing FrameBytes tree with WriteBytesProvider class
2012-12-14 16:12:48 -07:00
Joakim Erdfelt
ecb472f30b
Introducing WriteBytesProvider
2012-12-14 16:12:48 -07:00
Greg Wilkins
ecf7563a79
jetty-9 use direct buffers for generated headers
2012-12-14 14:07:42 +11:00
Jan Bartel
a9247d6617
Merge remote-tracking branch 'origin/jetty-8'
...
Conflicts:
jetty-util/src/main/java/org/eclipse/jetty/util/MultiPartInputStream.java
jetty-util/src/test/java/org/eclipse/jetty/util/MultiPartInputStreamTest.java
2012-12-14 12:08:03 +11:00
Jan Bartel
892cafd9a3
396459 Log specific message for empty request body for multipart mime requests
2012-12-14 10:42:58 +11:00
Greg Wilkins
6bfc19be1b
jetty-9 optimisation to dispatch before parsing so that handling is done in same thread
2012-12-14 09:50:22 +11:00
Greg Wilkins
5b8a9bb95e
jetty-9 use spare space in content buffer for header
2012-12-14 08:30:46 +11:00
Greg Wilkins
e5679d42c0
jetty-9 use spare space in content buffer for header
2012-12-14 07:41:22 +11:00
Joakim Erdfelt
c8c15a4063
Removing test for inputClosed on BlockheadClient to fix test failure.
2012-12-13 13:28:05 -07:00
Joakim Erdfelt
60598c5c73
396518 - Websocket AB Tests should test for which side disconnected and closed.wasClean
...
+ adding AbstractWebSocketConnection.onWriteWebSocketClose() to allow
for different behavior between client vs server TCP disconnect logic.
2012-12-13 13:28:05 -07:00
Simone Bordet
2c583ccda4
Introduced Request.CommitListener to separate the pre-commit request event from the commit request event.
2012-12-13 21:01:58 +01:00
Jesse McConnell
bf3c5c7922
add in some handshake state tracking into IOState to help track who initiated closes
2012-12-13 12:18:30 -06:00
Simone Bordet
127f4978a9
Introduced HttpCookieStore.Empty to disable cookies in HttpClient and in the websocket client.
2012-12-13 18:04:48 +01:00
Joakim Erdfelt
a386a46045
396518 - Websocket AB Tests should test for which side disconnected and closed.wasClean
...
* Adding stubbed out example in Fuzzer for wasClean.
2012-12-13 09:33:12 -07:00
Simone Bordet
0682af3502
Introduced Response.HeaderListener to allow applications to control processing of headers.
2012-12-13 17:15:34 +01:00
Jan Bartel
08a7cd86e3
Revert "jetty-9 added null constructor"
2012-12-13 20:17:25 +11:00
Jan Bartel
b819c07cc9
396474 add websocket server classes to jetty-maven-plugin classpath
2012-12-13 19:58:50 +11:00
Jan Bartel
f6e5e547f0
396475 Remove unneeded websocket-server dependency from test-jetty-webapp
2012-12-13 19:58:50 +11:00
Jan Bartel
10deb68ced
396472 org.eclipse.jetty.websocket needs to be removed from serverclasses as it should only be a systemclass
2012-12-13 19:58:50 +11:00
Jan Bartel
99201dd521
396473 JettyWebXMlConfiguration does not reset serverclasses
2012-12-13 19:58:50 +11:00
Jan Bartel
d9b34930d5
396460 Make ServerConnector configurable with jetty-maven-plugin
2012-12-13 19:58:50 +11:00
Greg Wilkins
0c16c774ca
jetty-9 use spare space in content buffer for header
2012-12-13 18:49:54 +11:00
Greg Wilkins
a03e1f4adf
jetty-9 ignore closeable DOS test for now
2012-12-13 10:08:45 +11:00
Joakim Erdfelt
b513244395
Bug 392371 - JavaUtilLog performing expensive format for unlogged items
...
* Adding isLoggable checks where format() is used
2012-12-12 14:39:17 -07:00
Jesse McConnell
e30e307367
test
2012-12-12 14:56:05 -06:00
Jesse McConnell
675d0c23ce
test
2012-12-12 14:55:33 -06:00
Thomas Becker
3380b466b4
fix merge issue
2012-12-12 19:45:31 +01:00
Thomas Becker
36ec5bb756
393220 remove dead code from ServletHandler and log ServletExceptions in warn instead of debug
2012-12-12 19:31:44 +01:00
Joakim Erdfelt
9bbfcd7e62
More websocket threading issues
...
* Using new IOState object in AbstractWebSocketConnection to better
manage close handshake state and replies.
* Cleaning up many bad BufferPool.release() calls against ByteBuffers
that didn't arrive from BufferPool.acquire()
* Removing many ByteBuffer.wrap() calls.
* Fixing FrameCompression / MessageCompression extension handling
of ByteBuffers
2012-12-12 11:06:15 -07:00
Joakim Erdfelt
be83cb100d
Adding java assert() on bad buffer release, per discussion with Simone and Jesse
2012-12-12 11:06:15 -07:00
Thomas Becker
440d4c4bf4
394211 - spdy: Expose RemoteServerAddress and LocalServerAddress in StandardSession
2012-12-12 18:48:49 +01:00
Thomas Becker
e299169ee3
StandardSession change LOG.warn in flush() back to LOG.debug
2012-12-12 18:48:49 +01:00
Thomas Becker
6567940471
HttpTransportOverSPDYTest hide stacktrace
2012-12-12 18:48:49 +01:00
Simone Bordet
0ff769e633
Introduced HttpCookieStore.Empty to disable cookies in HttpClient and in the websocket client.
2012-12-12 18:35:10 +01:00
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