Joakim Erdfelt
a9c329859d
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-07-12 13:18:12 -07:00
Simone Bordet
9d0bcdbce4
Fixes #1656 - Improve configurability of ConnectionPools.
...
Introduced ConnectionPool.Factory and HttpClientTransport.connectionPoolFactory.
This allows applications to create a ConnectionPool given the HttpDestination.
2017-07-04 11:24:53 +02:00
Greg Wilkins
ce8342f12a
Updated to latest servlet 4.0 draft
2017-05-03 11:04:57 +02:00
Simone Bordet
648448435d
Issue #1456 - Error dispatch race with async write.
...
Improved attempt to send a response in case of a failure while trying
to perform the error dispatch.
Fixed tests to use AbstractHandler.ErrorDispatchHandler.
2017-04-06 13:15:18 +02:00
Simone Bordet
c285d6f8bb
Fixes #612 - Support HTTP Trailer.
...
Added support on both the server and the client, for HTTP/1 and HTTP/2.
2017-04-03 22:25:50 +02:00
Greg Wilkins
6102861755
made test have longer timeouts
2017-03-10 15:00:45 +11:00
Greg Wilkins
48131f1fab
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-03-09 23:40:51 +11:00
Greg Wilkins
aacc59bb57
made test less stressful
2017-03-09 23:37:36 +11:00
Greg Wilkins
0a2da4822d
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-03-06 14:20:23 +11:00
Simone Bordet
affeb67f1a
Issue #1375 - Support pushed resources in HTTP client.
...
Implemented in the non-API HttpRequest class.
2017-03-05 19:01:08 +01:00
Simone Bordet
daa2a217e3
Fixes #1184 - IllegalStateException for HEAD requests responded with 404.
...
Fixed additional code path for requests with Accept header and non-404 response.
2017-02-26 16:20:28 +01:00
Greg Wilkins
e4028fa4d4
Issue #1317 cleanup
2017-02-09 22:52:38 +11:00
Greg Wilkins
8ecfbab79f
Issue #1047 - ReadPendingException and then thread death.
...
Alternate fix. Tracking needed vs interested state within HttpChannelState rather
that ignoring duplicate interest registrations.
2017-02-08 15:58:35 +11:00
Simone Bordet
e01636d109
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-02-07 22:31:06 +01:00
Simone Bordet
369c73ab45
Issue #1047 - ReadPendingException and then thread death.
...
Fixed by calling tryFillInterested() rather than fillInterested() to
cope with the race between reads scheduling read interest and
setWriteListener() that also executes code in
HttpChannelState.unhandle() that wants to schedule read interest.
2017-02-07 22:23:52 +01:00
Simone Bordet
0c8273f2ca
Happy New Year 2017.
2017-01-19 19:26:41 +01:00
Simone Bordet
07838b057f
Happy New Year 2017.
2017-01-19 18:54:03 +01:00
Simone Bordet
347c48d657
Revert "resolve merge and update license headers"
...
This reverts commit 53b31b03dd
, reversing
changes made to 4565c186d7
.
2017-01-19 18:26:43 +01:00
Jesse McConnell
53b31b03dd
resolve merge and update license headers
2017-01-19 09:33:16 -06:00
Simone Bordet
7f8a1157af
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-01-16 12:14:02 +01:00
Simone Bordet
ce4c48a877
Fixes #1261 - Intermittent H2C test failure AsyncIOServletTest.testAsyncReadEarlyEOF.
...
Delayed abrupt output shutdown in case of HTTP/2, to allow to reply to
SETTINGS frames exchanged during the preface.
2017-01-16 12:13:05 +01:00
Greg Wilkins
1e8fc31440
Issue #1252
2017-01-12 10:06:45 +11:00
Joakim Erdfelt
44596a7714
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2016-12-16 08:38:01 -07:00
Simone Bordet
3e42b68d9e
Added test cases for HEAD requests.
2016-12-16 15:34:13 +01:00
Greg Wilkins
a7048a325a
Issue #1077
...
Removed concrete handle from AbstractHandler
Added AbstractHandler.ErrorDispatchHandler
cleanup context listeners
Removed vanity inlining of ScopeHandler methods
Squashed commit of the following:
commit 0f3619ac1101707de476ad9b7f7394e8de18d95f
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Nov 8 10:59:55 2016 +1100
Issue #1077
Removed concrete handle from AbstractHandler
Added AbstractHandler.ErrorDispatchHandler
commit 0876fee0334b9f43297f28fc4b855f447b7ee73f
Merge: 5eabad2 7716ada
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Nov 8 08:48:53 2016 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-issue-1077
commit 5eabad29a5c4d893e204cb403a1d276ea3b15281
Author: Greg Wilkins <gregw@webtide.com>
Date: Mon Nov 7 21:15:40 2016 +1100
Issue #1077 cleanup context listeners
commit 9edf91a386aa20a3c0af86a634b4b3dbbc8e1092
Author: Greg Wilkins <gregw@webtide.com>
Date: Mon Nov 7 18:08:01 2016 +1100
Issue #1077 Removed vanity inlining of ScopeHandler methods
2016-11-08 15:58:15 +11:00
Greg Wilkins
0495bb896e
Issue #1074
...
Removed wake() call from within pollContent
Instead the EOF status is evaluated :
- when setReadListener is called
- when read returns -1
- when run() is called before calling either onDataAvailable or onAllDataRead
Squashed commit of the following:
commit 6a345356998331a90e60c7ee8ee590920464c72f
Merge: 92bc0e9 60d9001
Author: Greg Wilkins <gregw@webtide.com>
Date: Mon Nov 7 09:46:23 2016 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-issue-1074
commit 92bc0e9f3aafdce2f4aa7b2fde31affc942be042
Author: Greg Wilkins <gregw@webtide.com>
Date: Sat Nov 5 18:24:00 2016 +1100
Issue #1074
Do not do async IO callbacks if completed
commit ee220a12d1e6c5f6e39b4597a209c5043aa775cf
Author: Greg Wilkins <gregw@webtide.com>
Date: Sat Nov 5 16:22:55 2016 +1100
Issue #1074
Turned off debug
improved proxy test to be able to run with debug on
commit e2fb0b9ef1ec422a2c82cb388820581e359234ba
Author: Greg Wilkins <gregw@webtide.com>
Date: Sat Nov 5 15:37:27 2016 +1100
Issue #1074
Improved test cases
Handle early EOF
commit 3c47c022fe7e48f82e41d9a208073b64cfeb5af7
Author: Greg Wilkins <gregw@webtide.com>
Date: Sat Nov 5 12:28:15 2016 +1100
provisional implementation
2016-11-07 15:01:39 +11:00
Greg Wilkins
60d90010c2
Fixes #1076
2016-11-07 09:28:03 +11:00
Greg Wilkins
3e4f7b1fbf
Issue #1045 abort connections with non matching content-length
2016-10-28 15:36:19 +11:00
Joakim Erdfelt
d282fc67d2
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2016-10-17 09:46:13 -07:00
Simone Bordet
f9e3c535d6
Issue #989 - InputStreamResponseListener.get() throws with HTTP/2 following redirect.
...
Added test case, but it passes cleanly.
2016-10-17 15:46:43 +02:00
Simone Bordet
de7bdf2b94
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-10-17 15:34:56 +02:00
Simone Bordet
f305bf8a2d
Made the test more robust.
2016-10-17 15:34:08 +02:00
Greg Wilkins
98bb582d45
Jetty 9.4.x http interceptor #382
...
* Issue #382 Request compression
Added identity HttpInput.Interceptor
Moved GZIPContentDecoder to jetty-http
Reworking interceptor and GZIPContentDecoder to avoid data copies
Completed and tested GZIPContentDecoder
Implemented GzipHttpInputInterceptor
updated GzipHandler.java
updated gzip module
use common GZIP decoder
Gzip Bomb
handle read() after empty interception
2016-10-05 13:49:20 +11:00
Simone Bordet
03d9ad07c9
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-09-26 23:18:31 +02:00
Simone Bordet
cba4169ba9
Made test more robust.
2016-09-26 23:17:29 +02:00
Simone Bordet
e9e276c641
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-09-26 12:25:29 +02:00
Simone Bordet
a8b25819eb
Code cleanups.
2016-09-26 12:25:03 +02:00
Simone Bordet
716c595cdf
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-09-26 12:20:22 +02:00
Simone Bordet
74b86bad35
Fixes #960 - Async I/O spin when reading early EOF.
...
AsyncIOServletTest is now testing HTTP/1.1 and HTTP/2 transports.
2016-09-26 11:49:57 +02:00
Simone Bordet
a1a132a601
Fixes #959 - CompleteListener invoked twice for HTTP/2 transport and response content.
2016-09-26 10:16:31 +02:00
Simone Bordet
9551d0f62b
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-09-22 21:57:12 +02:00
Simone Bordet
1ede9febc6
Code cleanups.
2016-09-22 21:28:09 +02:00
Simone Bordet
5ec60a30ed
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-09-14 16:44:39 +02:00
Simone Bordet
aa00e4207d
Issue #922 - Implements methods Connection.getBytes[In|Out]().
...
Implemented for HTTP/2.
2016-09-14 14:04:23 +02:00
Simone Bordet
448100ff80
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-09-06 12:02:01 +02:00
Simone Bordet
6d485b2777
Fixes #902 - Expect: 100-Continue does not work with HTTP/2.
...
Improved handling of the 100 status code in both client and server.
2016-09-06 12:01:24 +02:00
Simone Bordet
e21ad09e3a
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-09-05 23:09:12 +02:00
Simone Bordet
705a68dfc4
Issue #845 - Improve blocking IO for data rate limiting.
...
Moved tests to run HTTP and HTTP/2 tests, and added more test cases.
2016-09-05 19:13:05 +02:00
Simone Bordet
a38feda9a0
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-07-29 12:09:27 +02:00
Simone Bordet
2cdea3601b
Fixes #790 - AsyncContentListener semantic broken with HTTP/2 transport.
...
Now using an IteratingCallback to buffer DATA frames and delivering
their content respecting AsyncContentListener semantic.
2016-07-29 12:08:55 +02:00