Commit Graph

692 Commits

Author SHA1 Message Date
Joakim Erdfelt 1444ffadb8 Reverting <modules> in parent pom in favor of spdy and osgi specifics 2014-03-26 14:06:23 -07:00
Joakim Erdfelt 4f051fecf3 More work to make alpn & npn builds sane 2014-03-25 15:47:15 -07:00
Joakim Erdfelt aea74ea2da Attempting to fix OSGi build for Java 8 2014-03-25 09:01:11 -07:00
Simone Bordet f0fc00ea50 Merged branch 'master' into 'jetty-9-alpn'. 2014-03-21 21:35:26 +01:00
Greg Wilkins 0d1fca545c 424107 Abort HttpTransport if already committed on error 2014-03-21 13:51:30 +11:00
Simone Bordet 52b34020a0 Implemented ALPN client-side connection.
This time added implementation classes :)
2014-03-20 21:28:13 +01:00
Simone Bordet 947e59f2b4 Implemented ALPN client-side connection. 2014-03-20 19:32:25 +01:00
Simone Bordet 3692ac17d4 Merged branch 'master' into 'jetty-9-alpn'. 2014-03-20 16:34:44 +01:00
Simone Bordet b994db698c Refactored NPN code for the soon-to-arrive ALPN code.
Moved NPN tests to new module spdy-npn-tests, that now is the only module
requiring the -Xbootclasspath configuration for the Maven Surefire Plugin.
2014-03-20 16:22:43 +01:00
Simone Bordet 919e41114c Updated POMs to use ALPN. TestJettyOSGiBootSpdy still not working. 2014-03-20 12:09:54 +01:00
Simone Bordet d77b07d687 Refactored SPDY modules and added ALPN tests. 2014-03-19 12:57:50 +11:00
Simone Bordet b3669c499c Refactored SPDY modules to extract into a different module the tests
that required NPN to run.
2014-03-19 12:57:50 +11:00
Simone Bordet b3b669166f Implemented ALPNServerConnection and refactored common code with NPN. 2014-03-19 12:57:50 +11:00
Greg Wilkins a85b855921 Revert ALPN and java 8 changes to move to another branch
Reverts e9ecd8c,2f22a10,addc49f,f4e4b09,cf1c245
Disabled unit test from commit 47e7583
2014-03-19 12:54:04 +11:00
Simone Bordet 2f22a1066c Refactored SPDY modules and added ALPN tests. 2014-03-18 23:59:19 +01:00
Simone Bordet f4e4b093d4 Refactored SPDY modules to extract into a different module the tests
that required NPN to run.
2014-03-18 23:59:18 +01:00
Simone Bordet cf1c2451d6 Implemented ALPNServerConnection and refactored common code with NPN. 2014-03-18 23:59:18 +01:00
Simone Bordet 2b59cd305d Removed section to enforce usage of JDK 7 (it's implicit in Jetty 9). 2014-03-13 16:30:35 +01:00
Jesse McConnell 0ec0d452e9 [maven-release-plugin] prepare for next development iteration 2014-03-07 09:10:08 -06:00
Jesse McConnell 1e555567a9 [maven-release-plugin] prepare release jetty-9.1.3.v20140225 2014-03-07 09:10:08 -06:00
Simone Bordet 34aa88472a 428266 - HttpRequest mangles URI query string.
Now raw query string is preserved.
2014-02-21 17:55:19 +01:00
Jesse McConnell eb0aea46ce set versions.txt file to new version and fix mistaken developmentVersion 2014-02-10 13:48:29 -06:00
Jesse McConnell f3d38dfb15 [maven-release-plugin] prepare for next development iteration 2014-02-10 11:17:14 -06:00
Jesse McConnell 8f6cbc9111 [maven-release-plugin] prepare release jetty-9.1.2.v20140210 2014-02-10 11:17:07 -06:00
Jesse McConnell 2db90757ed Bug 426481 fix < java 1.7.0_10 npn files 2014-01-23 10:36:29 -06:00
Simone Bordet e4cac732cf Updated build profiles to JDK 7u51, along with NPN modules. 2014-01-14 22:51:18 +01:00
Simone Bordet 1286363dbf Improved SPDY load test. 2014-01-14 22:51:18 +01:00
Simone Bordet 9f786402fd Added TODO, reminding to notify failure outside sync blocks. 2014-01-14 22:51:18 +01:00
Simone Bordet c06e65e798 Improved dump() output. 2014-01-14 22:51:18 +01:00
Jesse McConnell b82ec6e668 [maven-release-plugin] prepare for next development iteration 2014-01-08 16:47:09 -06:00
Jesse McConnell b99623a21d [maven-release-plugin] prepare release jetty-9.1.1.v20140108 2014-01-08 16:47:01 -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
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 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 a12fd9ea03 Happy New Year - 2014! 2014-01-02 14:50:14 -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
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
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 8d621a9331 424043 - IteratingCallback Idle race.
A few renamings and fixes to avoid IllegalStateExceptions.
2013-12-15 23:51:04 +01: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
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