Commit Graph

8585 Commits

Author SHA1 Message Date
Jesse McConnell dcf5c96439 Merge branch 'master' into release-9 2014-01-08 13:30:17 -06:00
Joakim Erdfelt 0d3b840951 Setting problematic SPDY test to @Ignore till such time as it can be properly addressed 2014-01-08 11:35:06 -07:00
Joakim Erdfelt 9df519c40f 423948 - Cleanup and consolidate testing utilities in WebSocket
+ Created websocket-common-tests.jar artifact
+ Consolidated duplicate code from other websocket-* modules
  into the websocket-common test artifact
2014-01-08 10:47:45 -07:00
Simone Bordet 152dfaa293 Restoring code removed by mistake. 2014-01-08 16:49:04 +01:00
Simone Bordet dbee351543 425043 - Track whether pools are used correctly.
Added leak detection to SPDY load test.
2014-01-08 16:17:32 +01:00
Joakim Erdfelt fb8d55e46e 424735 - WebSocket / Make ServletUpgradeRequest expose its HttpServletRequest
+ Added ServletUpgradeRequest.getHttpServletRequest() to access the
  underlying HttpServletRequest.
+ Wrapping underlying post-upgraded HttpServletRequest object with
  many disabled methods that are no longer relevant at this
  post-upgraded state of the connection.
2014-01-07 14:50:59 -07:00
Simone Bordet a22cfbd885 425049 - add json mime mapping to mime.properties. 2014-01-07 21:46:22 +01:00
Joakim Erdfelt 259c624558 425038 - WebSocketClient leaks file handles when exceptions are thrown from open()
+ Close connection on open() exception
2014-01-07 13:19:01 -07:00
Joakim Erdfelt 44a7d23516 423646 - WebSocket / JSR / WebSocketContainer (Client) should have its LifeCycle stop on standalone use
+ Set Daemon on Executor and Scheduler threads to allow them to shutdown
  with the JVM
2014-01-07 13:08:10 -07:00
Joakim Erdfelt f0eeb27921 424847 - Deadlock in deflate-frame (webkit binary)
+ Moving notification flows to outside of the synchronization blocks
2014-01-07 11:47:19 -07:00
Simone Bordet 8720fb213c 425043 - Track whether pools are used correctly.
Introduced LeakDetector and utility classes LeakTrackingConnectionPool
and LeakTrackingByteBufferPool to track resource pool leakages.

Fixed ConnectionPool to be more precise in closing connections when
release() cannot recycle the connection.

Fixed a leak in server's HttpConnection in case a request arrives with
the Connection: close header: a ByteBuffer was allocated but never
released.
2014-01-07 19:44:29 +01:00
Simone Bordet 6cb93e026f Cosmetics. 2014-01-07 19:44:29 +01:00
Simone Bordet 69187e117d Added missing call to super.close(). 2014-01-07 19:44:29 +01:00
Simone Bordet 4722ac1720 Improved semantic of close() method, now executed only once. 2014-01-07 19:44:29 +01:00
Joakim Erdfelt b59057c184 424863 - IllegalStateException "Unable to find decoder for type <javax.websocket.PongMessage>"
+ Expanding testing of PongMessage
+ Ensuring that .addMessage(MessageHandler.Whole<PongMessage>) works
+ Ensuring that ping or pong messages all goto assigned message
  handler for PongMessage, for both extends Endpoint and
  annotated @OnMessage
2014-01-06 17:54:57 -07:00
Joakim Erdfelt 8016065823 424706 - The setMaxIdleTimeout of javax.websocket.Session does not take any affect
+ Making sure that JsrSession updates Connection on use of
  setMaxIdleTimeout after a connection has been opened.
2014-01-06 15:07:02 -07:00
Joakim Erdfelt 907eb6b03b 424598 - Module [npn] downloads wrong npn jar
+ Cleanup of --list-config output
2014-01-06 11:16:03 -07:00
Joakim Erdfelt 7af87b4a04 424598 - Module [npn] downloads wrong npn jar
+ Separating Module logical name from file system reference name
+ [depend] references in *.mod files are tried as file system reference
  names, then logical names.
+ --module=<name> are tried only as logical names.
+ All of the npn/npn-${jvm.version}.mod files are defined as logical
  name of npn-boot
2014-01-06 11:16:03 -07:00
Joakim Erdfelt 658c2ce762 424598 - Module [npn] downloads wrong npn jar
+ Adding testcase to validate all of the npn-boot sub-modules for sanity
2014-01-06 11:16:03 -07:00
Simone Bordet e94ff7db9c 424743 - Verify abort behavior in case the total timeout expires
before the connect timeout.

The changes to fix this issue uncovered problems in the HttpSender
state machine.
In particular, the SenderState is now defining more states that
depend on deferred content, and on handling of 100 Continue responses.

The refactoring also highlighted the fact that there was no need to
keep HttpConversation objects in a Map in HttpClient: they are now
only referenced by the HttpRequest.
With this change, Request.getConversationID() has been deprecated.

Also fixed a number of tests to make them more reliable.
2014-01-05 15:29:43 +01:00
Joakim Erdfelt b3947ea0b8 424762 - ShutdownHandler hardcodes "127.0.0.1" and cannot be used with IPv6
+ Adding Request.getRemoteInetSocketAddress() to allow for better use
  of java built-ins for localhost / loopback checks.
2014-01-03 11:20:52 -07:00
Joakim Erdfelt 333ac73d5e Cleaning up some New Years leftovers 2014-01-03 08:18:24 -07:00
Joakim Erdfelt a12fd9ea03 Happy New Year - 2014! 2014-01-02 14:50:14 -07:00
Joakim Erdfelt 118fc97fe1 424734 - WebSocket / Expose Locale information from ServletUpgradeRequest 2013-12-29 17:05:41 -07:00
Joakim Erdfelt ec9d807a47 Reducing noise during testing 2013-12-27 10:55:47 -07:00
Joakim Erdfelt 966c4e0130 424390 - Allow enabling modules via regex 2013-12-27 10:52:03 -07:00
Joakim Erdfelt f8e44a1ae7 424168 - Module [ext] should load libraries recursively from lib/ext/
+ Added support for [LIB] definitions that use regex.
+ Using new expression for [LIB] sections in ext.mod
    regex:lib/ext/.*\.jar$
2013-12-27 10:31:38 -07:00
Jan Bartel 3b85ef6174 424682 Session cannot be deserialized with form authentication 2013-12-27 15:29:46 +11:00
Jan Bartel bca03f0e6d 424588 org.eclipse.jetty.ant.AntWebInfConfiguration does not add WEB-INF/classes for annotation scanning 2013-12-27 10:16:52 +11:00
Joakim Erdfelt 31831476f1 Removing ${switch logic from Module in favor of using properties 2013-12-26 15:49:31 -07:00
Joakim Erdfelt bd86928f1c Changing repo1.maven.org to central.maven.org 2013-12-26 15:45:48 -07:00
Joakim Erdfelt 1de4502ad5 424598 - Module [npn] downloads wrong npn jar
+ Implemented property expansion of [depend] module names
+ Added npn/npn-${java.version}.mod files
2013-12-26 15:41:40 -07:00
Joakim Erdfelt fa399d4b7d Fixing double '2152' expand 2013-12-26 13:02:10 -07:00
Joakim Erdfelt 4777f4ff3b 417202 - Start / command line arguments with ${variable} should be expanded
+ Expanding properties & LIB references
2013-12-26 12:51:18 -07:00
Simone Bordet 3d438c2028 424651 - org.eclipse.jetty.spdy.Flusher use of non-growable
ArrayQueue yield java.lang.IllegalStateException: Full.

Made the ArrayQueue growable.
2013-12-26 12:52:20 +01:00
Greg Wilkins 858b737be1 424598 switch on JRE version in module download 2013-12-23 15:53:12 +11:00
Greg Wilkins e5b85055bd 423739 Start checks module files.
renamed option to --create-files
cleaned up logging and messages
removed switch statement.
2013-12-23 15:46:52 +11:00
Jesse McConnell b55d8fa4c3 Updating VERSION.txt top section 2013-12-20 14:40:50 -06:00
Jesse McConnell 262b8d0d02 Merge branch 'master' into release-9 2013-12-20 14:36:31 -06:00
Joakim Erdfelt 5380430b75 Tweaking idle timeout 2013-12-20 13:22:01 -07:00
Joakim Erdfelt 5cf9640cfa 423724 - WebSocket / Rename MessageAppender.appendMessage to .appendFrame 2013-12-20 13:22:01 -07:00
Simone Bordet 7a51f602dd Fixed SPDY Flusher.
Write were performed from within synchronized blocks, which was wrong.
Refactored the code to make these calls outside of synchronized blocks.
2013-12-20 19:13:09 +01:00
Simone Bordet 330e7f87d7 Removed check on the HttpSender.content field, that could lead to
NullPointerExceptions.

Checking whether the content was last and then acting was not atomic,
and the action being executed is designed to be run concurrently,
so the check was not needed.
2013-12-20 13:08:26 +01:00
Simone Bordet f73d8a083c 424043 - IteratingCallback Idle race.
Cosmetics, removed TODO.
2013-12-20 11:19:06 +01:00
Greg Wilkins b91d1745ad 424498 made bytebufferendpoint threadsafe 2013-12-20 12:49:57 +11:00
Greg Wilkins ab9040bb63 424497 - Allow concurrent async sends 2013-12-20 11:49:33 +11:00
Jan Bartel aca8e4d44c 424380 Augment class / Jar scanning timing log events 2013-12-20 11:00:46 +11:00
Greg Wilkins dafbad5d1a 423692 use UrlEncoded.ENCODING for merging forwarded query strings 2013-12-19 16:57:02 +11:00
Jan Bartel f278bfd724 423392 - GzipFilter without wrapping or blocking
Ensure servlets present for jetty-maven-plugin with test-jetty-webapp
2013-12-19 15:27:33 +11:00
Jan Bartel 801a33d367 424303 @ServletSecurity not applied on non load-on-startup servlets 2013-12-19 15:23:42 +11:00