Commit Graph

8655 Commits

Author SHA1 Message Date
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
Jan Bartel 56b0fedf69 424398 Servlet load-on-startup ordering is not obeyed 2013-12-19 15:02:35 +11:00
Greg Wilkins 892127ca62 424180 extensible bad message content 2013-12-19 11:47:48 +11:00
Greg Wilkins 5643e588e2 424307 obfuscate unicode 2013-12-19 11:01:24 +11:00
Jan Bartel 9e2d0a33d6 424284 Identify conflicts in logging when error "Multiple servlets map to {pathspec}" occurs 2013-12-19 10:05:46 +11:00
Joakim Erdfelt e99ad50a90 Fixing README 2013-12-18 05:54:11 -07:00
Joakim Erdfelt 9a20a534b5 423646 - WebSocket / JSR / WebSocketContainer (Client) should have its LifeCycle stop on standalone use
+ Not working (yet), but narrowed down the problem.
2013-12-18 05:51:24 -07:00
Joakim Erdfelt 2b0db585ef 424183 - Start does not find LIB (Classpath) when on non-English locale
+ Adding more Java Environment dump to --list-config
+ Fixing .toUpperCase() use to include Locale.ENGLISH
2013-12-16 14:18:04 -07:00
Jan Bartel dd0f50fc72 423255 MBeans of SessionIdManager can leak memory on redeploy 2013-12-16 14:01:56 +11:00
Greg Wilkins cf3acd376f 424043 - IteratingCallback Idle race.
restored support for the old style usage where the callback is scheduled externally without a call to iterate()
2013-12-16 11:34:19 +11:00
Simone Bordet 8d621a9331 424043 - IteratingCallback Idle race.
A few renamings and fixes to avoid IllegalStateExceptions.
2013-12-15 23:51:04 +01:00
Joakim Erdfelt 8bf4a4f263 424051 - Using --list-config can result in NPE
+ Adding protection for no-manifest
+ Adding bad-jar tests for no-manifest, not-a-jar, and zero-length
2013-12-14 18:03:19 -07:00
Simone Bordet 41fc2b8f87 424043 - IteratingCallback Idle race.
Renamed Next enum to Action, and renamed some constant of the State
enum to avoid confusion with the Action enum.

Simplified succeeded() and failed(Throwable) code,
covering also cases not covered before.

Fixed case SCHEDULED in succeeded() that was returning in case the
compareAndSet failed.

Fixed race in perform(), where 2 threads may execute concurrently
after having returned from process().

Vastly improved javadocs and comments.
2013-12-15 00:47:55 +01:00
Greg Wilkins 7141483356 424043 - IteratingCallback Idle race 2013-12-14 09:14:12 +11:00
Joakim Erdfelt 46ef022cf4 421314 - Websocket / Connect attempt with Chrome 32+ fails with "Some extension already uses the compress bit"
+ Reworked extension negotiation to be more consistent with the changes
  to the spec that Chrome 32 are introducing.  Namely that first
  extension to claim RSV bit wins, all other conflicting extensions are
  ignored.
2013-12-13 12:30:26 -07:00
Joakim Erdfelt 5c296c99d8 Cleaning up tests 2013-12-13 12:30:25 -07:00
Simone Bordet 5bbdbadec7 421795 - ContentProvider should have a method to release resources.
Implemented close of the request content based on the fact that the
Iterator returned by the content provider implements Closeable.
2013-12-13 18:47:38 +01:00
Simone Bordet b0c275837b 421794 - Iterator from InputStreamProvider is not implemented properly.
Now the iterator contract is better respected.
2013-12-13 16:32:14 +01:00
Simone Bordet 6473bbc2b6 424014 - PathContentProvider does not close its internal
SeekableByteChannel.

Fixed by closing the channel when it has been fully read and in case
of exceptions.
2013-12-13 14:27:13 +01:00
Simone Bordet ce4e07f6a4 Added comments about optimizations that may be included as part of
fixing 423974 - Optimize flow control.
2013-12-13 13:39:46 +01:00
Simone Bordet 6f316f9887 423930 - SPDY streams are leaked.
With this fix, when streams are closed or failed, the stream is closed
and its idle timeout is canceled, avoiding the leaking.
2013-12-13 13:39:46 +01:00
Simone Bordet f4a5f68bdd Using org.junit.Assert rather than junit.framework.Assert. 2013-12-13 13:39:46 +01:00
Simone Bordet 510afdef2a Removed unused field. 2013-12-13 13:39:46 +01:00
Simone Bordet cb6bacb11c 423926 - Remove code duplication in class IdleTimeout.
Removed code duplications, and also removed method close(),
unnecessary since onClose() was performing the exact same code.

Also reviewed subclasses of IdleTimeout to make sure that they always
call onClose() when they are "closed", to make sure that the timeout
does not fire and that there are no memory leaks (the scheduler
holding a reference to the timeout task, which in turn holds a
reference to the IdleTimeout instance).
2013-12-13 13:39:46 +01:00
Jan Bartel 2d3d912173 423361 Ensure ServletContainerInitializers called before injecting Listeners 2013-12-13 15:03:46 +11:00
Greg Wilkins 1731e0c69a 423392 - GzipFilter without wrapping or blocking
ensure that servlets are enabled for demo
2013-12-13 12:19:38 +11:00
Greg Wilkins 0104374adb 423048 - Receiving a PING while sending a message kills the connection
Optimised to remove msgLock and just have a concurrent state machine on msgType
2013-12-13 11:51:05 +11:00
Joakim Erdfelt 0a30b4934b 423915 - WebSocket / Active connection from IOS that goes into airplane mode not disconnected on server side
+ Adding testcase verifying Native WebSocket API behavior
2013-12-12 17:04:35 -07:00
Joakim Erdfelt 6d70aab61d 423915 - WebSocket / Active connection from IOS that goes into airplane mode not disconnected on server side
+ Working testcase for JSR-356
2013-12-12 16:58:42 -07:00
Joakim Erdfelt 7af074bafb 423048 - Receiving a PING while sending a message kills the connection
+ Removed msgLock on control frames.
+ Moved sendPing() and sendPong() to async frame handling
+ Squelched a mess of stacktraces in the testing output
2013-12-12 16:08:53 -07:00
Joakim Erdfelt 5941e9db83 Fixing various warnings / imports 2013-12-12 14:46:40 -07:00