Commit Graph

10380 Commits

Author SHA1 Message Date
Joakim Erdfelt 12ca82b5bd Updating protonego ref 2015-02-12 09:09:17 -07:00
Simone Bordet 38b5c11d25 Fixed merge conflict. 2015-02-12 14:40:43 +01:00
Simone Bordet 465f6f7da8 Merged branch 'jetty-9.2.x' into 'master'. 2015-02-12 14:32:24 +01:00
Simone Bordet 968ed9f0ae Small updates to ProxyServletTest. 2015-02-12 14:27:09 +01:00
Simone Bordet c449f1fa20 459769 - AsyncMiddleManServlet race condition on last download content.
Fixed by coordinating the notification of the proxying termination
between the last write performed from onSuccess() and the onComplete()
event using a CountingCallback.
2015-02-12 14:20:09 +01:00
Simone Bordet 2cd26725e1 Fixed bug in onSuccess() where the count was decreased to zero on the
first call to succeeded() due to not returning after the
successful compareAndSet().
2015-02-12 14:20:09 +01:00
Greg Wilkins a147cee480 459731 - Update for drafts hpack-11 and http2-17 2015-02-12 14:45:12 +11:00
Jan Bartel e21d078d2b Update date on osgi bundle copyright message. 2015-02-12 10:33:20 +11:00
Jan Bartel b45389ad87 Fix http2 osgi manifests and tests 2015-02-12 10:32:16 +11:00
Joakim Erdfelt 20fa13605c 459655 - Remove SPDY and NPN
+ Flattening protonego-* to alpn.mod + alpn-impl/alpn-${java.version}
2015-02-11 10:58:10 -07:00
Joakim Erdfelt cab76950e1 459655 - Remove SPDY and NPN
+ Removed src/test/resources/usecases/home
+ Updated src/test/resources/dist-home to represent current distribution
  configuration for Jetty 9.3.0 without SPDY or NPN
+ Changed all test cases to use new dist-home
+ Refactored TestUseCases and TestBaseUseCases for @Parameterized and
  consistent naming in src/test/resources/usecases/
2015-02-11 10:05:51 -07:00
Simone Bordet 360b72a29e HTTP/2 API Javadocs. 2015-02-11 17:44:05 +01:00
Simone Bordet 8ca0a86352 459655 - Remove SPDY and NPN.
Cleanup of javadocs, comments, XML and other text files.
2015-02-11 16:21:53 +01:00
Simone Bordet be860741d5 459655 - Remove SPDY and NPN.
Cleanup of javadocs, comments, XML and other text files.
2015-02-11 16:18:07 +01:00
Greg Wilkins e19ed33341 Merge remote-tracking branch 'origin/jetty-9.2.x'
Conflicts:
	jetty-servlets/src/main/java/org/eclipse/jetty/servlets/gzip/GzipHandler.java
2015-02-11 15:08:56 +11:00
Greg Wilkins 5724b48c8d 459560 jetty.sh handles start.d and no start.ini
Also-by: Mike Dillon <mike@embody.org>
Signed-off-by: Greg Wilkins <gregw@intalio.org>
2015-02-11 14:43:35 +11:00
Greg Wilkins ca8015828c 458663 Handle null header values 2015-02-11 14:30:26 +11:00
Greg Wilkins 2162455b72 Removed SPDY and NPN
Because jetty 9.3 is targetted for HTTP2, we have removed support for SPDY and NPN.
2015-02-11 14:20:06 +11:00
Jan Bartel cf0d191c0a 459490 Defining a duplicate error page in webdefault.xml and web.xml results in an error 2015-02-11 12:20:01 +11:00
Jan Bartel c7b8707849 459125 GzipHandler default mimeType behavior incorrect 2015-02-11 11:15:55 +11:00
Jesse McConnell a187608013 update the notice.txt file to reflect updated ip info 2015-02-10 16:25:00 -06:00
Simone Bordet b399649a1a Merged branch 'jetty-9.2.x' into 'master'. 2015-02-10 15:30:20 +01:00
Simone Bordet 4462e6a01e 459352 - AsyncMiddleManServlet should set "Host:" header correctly in proxy to remote request headers.
Fixed by removing the host header during the copy, so that HttpClient
correctly sets it by looking at the request target.
2015-02-10 15:29:44 +01:00
Simone Bordet 44d262c65a Renamed GatheringCallback to CountingCallback. 2015-02-10 13:16:41 +01:00
Simone Bordet 7dffe4f082 459542 - AsyncMiddleManServlet race condition on first download content.
Fixed the race condition by submitting a zero length buffer to write
from onWritePossible() which will succeed the callback without
causing races.
2015-02-10 13:16:41 +01:00
Simone Bordet 12e2f9e6c8 459542 - AsyncMiddleManServlet race condition on first download content.
Fixed the race condition by submitting a zero length buffer to write
from onWritePossible() which will succeed the callback without
causing races.
2015-02-10 13:10:57 +01:00
Joakim Erdfelt 7f0a073b54 Merge branch 'jetty-9.2.x' 2015-02-09 14:50:34 -07:00
Joakim Erdfelt 7b00f6857f Print full RUN_CMD when jetty.sh -d is called
Also-by: Mike Dillon <mike@embody.org>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2015-02-09 14:22:40 -07:00
Simone Bordet cb5541b58e Merged branch 'jetty-9.2.x' into 'master'. 2015-02-09 17:39:16 +01:00
Simone Bordet 273854835f Made HttpClientTransportOverHTTP2 a ContainerLifeCycle, so that it
can manage the start/stop of HTTP2Client.
2015-02-09 17:33:10 +01:00
Simone Bordet 53813d94a9 Reduced logging level in test configuration. 2015-02-09 17:00:48 +01:00
Simone Bordet 3855024bba Added tests for HTTP2Client idle timeout. 2015-02-09 16:53:22 +01:00
Simone Bordet f974c74329 Implemented HTTP2Client connect timeout. 2015-02-09 16:22:21 +01:00
Simone Bordet 85edb7e573 Improved configurability of HTTP2Client. 2015-02-09 14:24:09 +01:00
Simone Bordet d0f0aa7c9f Fixed removal of streams upon sending the response HEADERS frame. 2015-02-09 13:26:01 +01:00
Simone Bordet 7066f65e8c 423974 - Optimize flow control.
Implemented a buffering FlowControlStrategy that reduces the amount
of WindowUpdate exchanges.
2015-02-09 13:25:32 +01:00
Simone Bordet 1274bb9e43 Implemented dump() to print out the scheduler thread stack trace. 2015-02-09 12:13:18 +01:00
Simone Bordet e3ae501db8 Improved AbstractEndPoint.toString() to print for how long it has been idle. 2015-02-09 12:12:14 +01:00
Simone Bordet 2a749dc0ea Fail the callback in case we cannot activate a newly created connection. 2015-02-09 12:11:18 +01:00
Simone Bordet fa72356d1d Fixed failure of stalled frames. 2015-02-09 09:11:56 +01:00
Simone Bordet 02b5732720 First take at implementing the HttpClientTransport for HTTP2. 2015-02-09 09:11:56 +01:00
Simone Bordet 96132dbe45 Merged branch 'jetty-9.2.x' into 'master'. 2015-02-09 08:56:03 +01:00
Simone Bordet 43f14997d8 Improved toString() methods for better reporting during dump(). 2015-02-09 08:54:52 +01:00
Joakim Erdfelt 32ae2a15b2 Typo 2015-02-06 15:48:44 -07:00
Simone Bordet 99da9ce98e Merged branch 'jetty-9.2.x' into 'master'. 2015-02-06 21:45:22 +01:00
Simone Bordet ee16dfd066 Added test to verify the complete event is not fired until the
content is consumed.
2015-02-06 21:42:07 +01:00
Simone Bordet 12eaedd96b Refactored HttpDestination to allow customization of the request enqueuing.
Subclasses may override enqueue() and provide a different algorihtm.
2015-02-06 21:42:07 +01:00
Greg Wilkins b1953a6859 added private key for debugging 2015-02-06 15:51:01 +11:00
Greg Wilkins 14cd10b676 experimenting with push API 2015-02-06 13:48:34 +11:00
Greg Wilkins 21e8cf68b6 allow InetSocketAddress to be translated in ConnectHandler 2015-02-06 11:17:36 +11:00