Commit Graph

6024 Commits

Author SHA1 Message Date
Thomas Becker 26c5eb428f 396193 spdy remove timeout parameters from api and move them to the Info* classes 2012-12-21 13:24:16 +01:00
Greg Wilkins 3216a284b3 jetty-9 per parser fields cache 2012-12-20 13:50:48 +11:00
Greg Wilkins f7c2e85040 jetty-9 per parser fields cache 2012-12-20 13:13:46 +11:00
Greg Wilkins ba684637df jetty-9 minor optimisations 2012-12-20 12:03:00 +11:00
Greg Wilkins b1bd23e3cb jetty-9 minor optimisations 2012-12-20 10:46:22 +11:00
Joakim Erdfelt 69b9856998 Squashing JMX warnings on jetty startup 2012-12-19 13:50:51 -07:00
Joakim Erdfelt 0ef9b23724 Fixing end user callback failure if runtime exception occurs, renaming enque to enqueue 2012-12-19 10:06:23 -07:00
Simone Bordet 2237053819 Moved aggregates out of the main build, only included in the release build. 2012-12-19 16:27:20 +01:00
Simone Bordet b6e4f98cf7 Performance improvements to HTTP client after profiling session.
The profiling suggested to reduce the number of unneeded allocations
and this required a couple of API changes.
2012-12-19 16:27:20 +01:00
Simone Bordet c9f4513a89 Reworked HTTP client API, removing usage of Future. 2012-12-19 16:27:20 +01:00
Thomas Becker 72cdab4934 395794 slightly modified fix for empty file extenstion to mime type mapping. Added a default, so it will also work with unknown file extensions 2012-12-18 13:09:21 +01:00
Simone Bordet 58dff061e1 394552 - HEAD requests don't work for jetty-client.
Added a missing call to HttpParser.setHeadResponse()
to inform the parser that it is a response to a HEAD request.
2012-12-17 11:37:40 +01:00
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