9776 Commits

Author SHA1 Message Date
Greg Wilkins
c1b66a3ea3 Fixed start.jar property as properties issue 2014-08-21 10:45:28 +10:00
Greg Wilkins
bd8bcd62e9 updated npn alpn for java 1.7.0_76 2014-08-21 10:44:48 +10:00
Greg Wilkins
420df3b5d6 441756 Ssl Stackoverflow on renegotiate 2014-08-21 09:47:01 +10:00
Greg Wilkins
7584488702 javadoc 2014-08-21 09:43:35 +10:00
Greg Wilkins
984c7fdd85 various updates 2014-08-20 17:54:01 +10:00
Greg Wilkins
9b36f999d1 fixed merge 2014-08-20 12:22:16 +10:00
Greg Wilkins
ae8e7f0067 Merge remote-tracking branch 'origin/master' into jetty-http2 2014-08-20 12:02:09 +10:00
Greg Wilkins
06cee4b08d 441897 Fixed etag handling in gzipfilter 2014-08-20 11:56:32 +10:00
Greg Wilkins
caaa7c508c 440255 ensure 500 is logged on thrown Errors 2014-08-20 11:36:58 +10:00
Greg Wilkins
e15a87f499 440255 ensure 500 is logged on thrown Errors 2014-08-20 10:27:27 +10:00
Greg Wilkins
0331992d86 347110 renamed class transformer methods 2014-08-20 10:10:33 +10:00
Greg Wilkins
6b2b6c330d 347110 renamed class transformer methods 2014-08-20 09:43:55 +10:00
Joakim Erdfelt
7700d1ce53 Testcase is sensitive to System Property from other tests.
+ Making the testcase for PathFinderTest not discover jetty.base, as
  this value can be obtained from System Property (set from another
  test case) giving false success/failure based on run order.
2014-08-19 10:33:04 -07:00
Simone Bordet
c15480644f 442083 - Client resets stream, pending server data is failed, connection closed.
Introduced ResetException, and using it when failing frames of streams
that have been reset already.

HttpTransportOverHTTP2.abort(Throwable) checks for this exception and
does not close the connection.
2014-08-19 18:40:01 +02:00
Simone Bordet
8e62a50500 442086 - Review HttpOutput blocking writes.
Reviewed blocking writes call sites and handled exceptions in the same
way for all of them, calling HttpChannel.abort(Throwable).

Modified HttpChannel.abort() to take the failure as parameter, so that
subclasses may inspect the failure and decide what to do.
2014-08-19 18:37:53 +02:00
Simone Bordet
d4f140ff65 Ignoring HEADERS, PUSH_PROMISE and DATA if the stream cannot be found.
This typically happens when the stream has been reset.
2014-08-19 13:43:24 +02:00
Simone Bordet
20076fcdc5 Moved reset() from Session to Stream. 2014-08-19 13:41:52 +02:00
Simone Bordet
09d54eacab Accounting for the session flow control window in case of reset streams. 2014-08-19 13:38:43 +02:00
Simone Bordet
728a7c3442 Made push functionality honor configuration parameter sent via SETTINGS. 2014-08-15 18:34:20 +02:00
Simone Bordet
75912deb52 Updated parameter name from "associateDelay" to "associatePeriod". 2014-08-15 18:07:41 +02:00
Simone Bordet
c7987b154a Reverted logging of HTTP2 tests from DEBUG to INFO. 2014-08-15 17:29:38 +02:00
Simone Bordet
81ded3cddd Added JMX annotations to PushCacheFilter. 2014-08-15 16:59:16 +02:00
Greg Wilkins
1c71040eca moved config plugin to profile 2014-08-15 19:53:52 +10:00
Greg Wilkins
b47f9ef605 cleaned up OSGi manifest creation 2014-08-15 19:35:49 +10:00
Simone Bordet
48b1f9f3f1 Implemented HTTP/2 push functionality.
A PushCacheFilter contains the logic to associate secondary resources
to primary resources.
PushCacheFilter calls a Jetty-specific API on the request dispatcher:
Dispatcher.push(ServletRequest). This is a technology preview of the
push functionality slated for Servlet 4.0.
The push() invocation arrives to the transport and it is converted to
HTTP/2 specific PUSH_PROMISE, along with the mechanism to simulate
the request for the secondary resource.
2014-08-14 23:05:35 +02:00
Simone Bordet
a2360bd542 Fixed creation of HttpURI for push requests. 2014-08-14 23:00:21 +02:00
Greg Wilkins
a14d843382 ignored osgi-spdy tests 2014-08-14 15:18:28 +10:00
Greg Wilkins
f81bb4c000 update OSGi for ssl home and base 2014-08-14 11:21:08 +10:00
Greg Wilkins
98b654ba20 Merge remote-tracking branch 'origin/master' into jetty-http2
Conflicts:
	jetty-distribution/pom.xml
2014-08-14 08:38:25 +10:00
Greg Wilkins
18b6a9b3d9 435533 Handle 0 sized async gzip 2014-08-14 07:48:27 +10:00
Greg Wilkins
2af613a28b improved debugging output 2014-08-13 15:56:02 +10:00
Jan Bartel
9a848e3425 Prevent copy of unncessary apache-jstl jar to distro lib. 2014-08-13 15:42:17 +10:00
Jan Bartel
89d189ad3a Update to org.mortbay.apache.jsp 8.0.9.M1 2014-08-13 15:30:40 +10:00
Jan Bartel
a183219ac8 441479 Jetty hangs due to deadlocks in session manager 2014-08-13 13:47:30 +10:00
Greg Wilkins
b983fab972 Merge remote-tracking branch 'origin/master' into jetty-http2 2014-08-13 13:44:06 +10:00
Greg Wilkins
68a3ca8e31 improved debug logging of settings 2014-08-13 12:00:32 +10:00
Jan Bartel
aedfb662b6 441649 - Update to jsp and el Apache Jasper 8.0.9 2014-08-13 11:01:05 +10:00
Simone Bordet
a97d4642ab Improved toString() methods for frames. 2014-08-12 23:01:03 +02:00
Simone Bordet
14dc4fade0 Updated log statements to use debug() instead of info(). 2014-08-12 22:32:17 +02:00
Simone Bordet
20963c9c61 Refactored host and port to local variables. 2014-08-12 18:54:50 +02:00
Simone Bordet
814c84a212 Introduced configuration properties for ALPN/NPN advertised protocols.
No more need to copy protonego-alpn.xml to a jetty.base to specify
which protocols are advertised and in which order.
Instead, simply specify:

alpn.protocols=h2-14,http/1.1
alpn.defaultProtocol=http/1.1

in start.ini (in the example above for http2).
2014-08-12 18:54:33 +02:00
Simone Bordet
e147ce9528 Updated flow control implementation to detect when senders exceed
allowed windows.
2014-08-12 16:37:41 +02:00
Simone Bordet
4f4c3604a2 Made the test more reliable. 2014-08-12 16:27:33 +02:00
Simone Bordet
d2fa4dca60 Introduced configuration properties for ALPN/NPN advertised protocols.
No more need to copy protonego-alpn.xml to a jetty.base to specify
which protocols are advertised.
Instead, simply specify:

protonego.protocols=h2-14,http/1.1
protonego.defaultProtocol=http/1.1

in start.ini (in the example above for http2).
2014-08-11 23:59:26 +02:00
Simone Bordet
d26a003d4c Removed configuration for SPDY/2. 2014-08-11 23:46:00 +02:00
Simone Bordet
107a4fff20 Fixed handling of INITIAL_WINDOW_SIZE setting.
It must update only stream windows, and not the session window.
2014-08-11 18:43:50 +02:00
Simone Bordet
187c42fa4a Closing the flusher instead of just disconnecting after a GO_AWAY.
This ensures that frames that may have been added to the flusher queue
concurrently after the GO_AWAY are properly failed and the queue
drained.
2014-08-11 11:30:49 +02:00
Simone Bordet
59a9c0890c Fixed off-by-one in counting the padding bytes. 2014-08-08 23:53:18 +02:00
Simone Bordet
f8086dc7c2 Refactored the send of the SETTINGS frame from the client.
It's now sent after a call to onPreface(), which has been moved to
the common interface Session.Listener (from ServerSession.Listener),
so that client applications can customize the SETTINGS to send to the
server.
2014-08-08 23:52:20 +02:00
Simone Bordet
ab96bf775f Removed unneeded casting to DataFrame. 2014-08-08 18:19:02 +02:00