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
Greg Wilkins
a478271828
JETTY-1533 handle URL with no path
2012-12-13 07:59:21 +11: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
Thomas Becker
b1a7779bd2
393220 remove dead code from ServletHandler and log ServletExceptions in warn instead of debug
2012-12-12 19:27:31 +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
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