Joakim Erdfelt
d3ff3423f0
Updating to version 9.2.18.v20160721
2016-07-21 12:35:26 -07:00
Simone Bordet
823ba4add6
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-07-21 18:15:38 +02:00
Simone Bordet
6a15bbfb2b
Issue #751 - Remove usages of ArrayQueue.
2016-07-21 17:55:48 +02:00
Simone Bordet
6adb5eb031
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-07-15 18:12:02 +02:00
Simone Bordet
a3b5e7ebb7
Added guards against NPE in case HttpField.getValue() returns null.
2016-07-15 15:45:50 +02:00
Jesse McConnell
ae931538ab
[maven-release-plugin] prepare for next development iteration
2016-06-22 13:59:10 -05:00
Jesse McConnell
df1ed4fb03
[maven-release-plugin] prepare release jetty-9.3.11.M0
2016-06-22 13:59:06 -05:00
Jesse McConnell
030ec61837
[maven-release-plugin] prepare for next development iteration
2016-06-22 09:14:25 -05:00
Jesse McConnell
9a4cb41122
[maven-release-plugin] prepare release jetty-9.3.11.M0
2016-06-22 09:14:21 -05:00
Jesse McConnell
f2264c96a6
Merge branch 'jetty-9.3.x' into release-9.3.10
2016-06-22 08:40:46 -05:00
Simone Bordet
0d5fb1812e
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-06-22 11:27:56 +02:00
Simone Bordet
72393bc666
Fixes #659 - CONNECT request fails spuriously.
...
Fixed by properly returning true from messageComplete() in case of
a 101 response or a 200 CONNECT response.
2016-06-22 11:27:28 +02:00
Simone Bordet
a07461f4bd
Code cleanups.
2016-06-22 11:27:28 +02:00
Jesse McConnell
e7034117ea
[maven-release-plugin] prepare for next development iteration
2016-06-21 08:50:13 -05:00
Jesse McConnell
16c435c69d
[maven-release-plugin] prepare release jetty-9.3.10.v20160621
2016-06-21 08:50:09 -05:00
Simone Bordet
b3fda0b733
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-06-20 23:11:16 +02:00
Simone Bordet
7ef22c8ebd
Fixes #648 - Problem using InputStreamResponseListener to handle HTTP/2 responses.
...
The fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=484446
reimplemented InputStreamResponseListener using callbacks rather than
blocking waits.
However, HTTP/2 behaves a little differently than HTTP/1.
Where in HTTP/1 until the callback was completed no further calls to
onContent() were made, with HTTP/2 additional calls are made until
the flow control window is exhausted.
For this reason InputStreamResponseListener must queue content chunks
rather than dealing only with one chunk at a time.
2016-06-20 23:10:44 +02:00
Simone Bordet
a565b6fa83
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-06-14 11:09:02 +02:00
Simone Bordet
35077c9803
Increased timeouts to avoid failures on slower machines.
2016-06-14 11:08:38 +02:00
Greg Wilkins
86e5b1cf9b
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-06-08 16:48:50 +10:00
Greg Wilkins
d458d41632
more generous unit test timeouts
2016-06-08 16:48:19 +10:00
Simone Bordet
73fe6715de
Issue #306 - Merge jetty-parent into jetty-project.
...
Moved more plugin version declarations into jetty.project's pom.
2016-06-07 10:23:38 +02:00
Simone Bordet
85b3459af5
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-06-03 18:03:29 +02:00
Simone Bordet
c05e265c5b
Moved scheme checks to the right place.
2016-06-03 17:57:59 +02:00
Greg Wilkins
98c328fb23
Jetty 9.4.x 572 ( #614 )
...
* Issue #572 Scheduling Strategy Deadlocks
Implemented dual strategy idea from #572 discussion
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* fixed http2 strategy choice
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* code cleanups
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* clean up seelctor actions/products
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* cleanups
2016-06-03 09:07:00 +10:00
Greg Wilkins
e1b551c2ae
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-06-02 08:04:56 +10:00
Simone Bordet
059fbaa1d6
Removed @Ignore from a passing test.
2016-06-01 11:56:49 +02:00
Simone Bordet
8956245026
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-06-01 10:48:57 +02:00
Greg Wilkins
7d6c05b5c0
Issue #610 Ignore failing test
2016-06-01 17:46:04 +10:00
Simone Bordet
b912c700ee
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-25 19:27:46 +02:00
Simone Bordet
f3a805887e
Fixes #542 - Support Connection.Listener bean on clients.
...
Introduced ClientConnectionFactory.customize() to look for
Connection.Listener beans.
ClientConnectionFactory implementation calls customize() when they
create a Connection instance, so the Connection.Listener beans are
registered onto the Connection.
2016-05-25 19:27:08 +02:00
Simone Bordet
016a7b72a1
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-24 16:10:00 +02:00
Simone Bordet
ddddc3a675
Fixes #574 - Introduce a TLS handshake completed listener.
...
Introduced class SslHandshakeListener that can be registered as a
bean in both the ServerConnector and in clients such as HttpClient
and HTTP2Client.
When creating SslConnection instances, the factory will query the
connector (client or server) for SslHandshakeListener beans and, if
present, will be added to the SslConnection.
2016-05-24 16:09:19 +02:00
Simone Bordet
5fe1ff697e
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-24 12:42:12 +02:00
Simone Bordet
d73c60db14
Issue #464 - Improve reporting of SSLHandshakeException.
2016-05-24 11:15:18 +02:00
Simone Bordet
b1ebcf9139
Using lambdas instead of anonymous inner classes.
2016-05-24 11:15:18 +02:00
Jesse McConnell
4bf91b5ab3
Merge remote-tracking branch 'origin/release-9.3.9' into jetty-9.3.x
2016-05-19 09:55:58 -05:00
Simone Bordet
a37a0c18c3
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-19 15:49:14 +02:00
Simone Bordet
89531a81be
Fixed test.
2016-05-19 15:48:50 +02:00
Jesse McConnell
dc4574f380
[maven-release-plugin] prepare for next development iteration
2016-05-17 17:30:17 -05:00
Jesse McConnell
0bbebec1e0
[maven-release-plugin] prepare release jetty-9.3.9.v20160517
2016-05-17 17:30:13 -05:00
Jesse McConnell
d5c6793e6a
[maven-release-plugin] prepare for next development iteration
2016-05-17 15:33:46 -05:00
Jesse McConnell
0bab7e6616
[maven-release-plugin] prepare release jetty-9.2.17.v20160517
2016-05-17 15:33:42 -05:00
Simone Bordet
922319c3a3
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-12 19:30:50 +02:00
Simone Bordet
e25cca33e7
Fixes #571 - AbstractAuthentication.matchesURI() fails to match scheme.
2016-05-12 19:03:52 +02:00
Simone Bordet
cd2c2a6b98
Issue #560 - Jetty Client Proxy Authentication does not work with HTTP Proxy tunneling.
...
Small refactoring.
2016-05-12 19:03:18 +02:00
Simone Bordet
242b6b5f66
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2016-05-12 18:59:40 +02:00
Simone Bordet
f3675dbad7
Fixes #560 - Jetty Client Proxy Authentication does not work with HTTP Proxy tunneling.
...
The issue was related to the fact that the proxy responded 407 with a
Connection: close header.
Because the endPoint underlying the original connection was closed,
it should not have been used as a tunnel.
Rather, the endPoint of the new CONNECT attempt (with the proxy
credentials) must be used for the tunnel.
Also partially backported the fix for #408 .
2016-05-12 17:19:04 +02:00
Simone Bordet
1056536155
Moved HttpClientLoadTest to "tests" module to test all transports.
2016-05-06 17:10:46 +02:00
Joakim Erdfelt
939505c342
Updating to version 9.2.17-SNAPSHOT
2016-04-14 14:03:21 -07:00
Joakim Erdfelt
778fac638d
Updating to version 9.2.16.v20160414
2016-04-14 13:21:34 -07:00
Joakim Erdfelt
47bbd9364d
Revert "Updating to version 9.2.16.v20160414"
...
This reverts commit 29ae63855b
.
2016-04-14 13:19:59 -07:00
Joakim Erdfelt
29ae63855b
Updating to version 9.2.16.v20160414
2016-04-14 13:17:21 -07:00
Joakim Erdfelt
6fb338e50d
Updating to version 9.3.9-SNAPSHOT
2016-04-11 16:20:50 -07:00
Joakim Erdfelt
bb4f3c4882
Updating to version 9.3.9.M1
2016-04-11 15:35:22 -07:00
Simone Bordet
e2f252f817
Merged branch 'jetty-9.3.x' into 'master'.
2016-04-11 19:39:04 +02:00
Simone Bordet
f0a1ccf4d3
Fixes #504 - HTTP/2 client transport cannot send request after idle timeout.
...
Made sure that the idle timeout mechanism notifies the destination
that the connection will close.
Also reviewed the close protocol to be: notify destination, then abort,
then close. In this way, HTTP/2 can send RST_STREAM before the
connection is closed.
2016-04-11 19:15:17 +02:00
Simone Bordet
11242ae1ec
Fixes #503 - Wrong request-per-connection counting in MultiplexHttpDestination in case of failures.
2016-04-11 19:15:17 +02:00
Simone Bordet
ac4ee8fec4
Ignoring tests that connect to external sites.
2016-04-11 19:15:17 +02:00
Simone Bordet
5aef3ba3e4
Merged branch 'jetty-9.3.x' into 'master'.
2016-04-04 15:41:04 +02:00
Simone Bordet
5c147288ef
Fixes #481 - Event response.success notified without waiting for content callback for HTTP/2 transport.
...
Fixed by notifying the response.success event only when the callback
is succeeded.
2016-04-04 15:40:25 +02:00
Simone Bordet
1806744bf7
Merged branch 'jetty-9.3.x' into 'master'.
2016-04-01 22:04:44 +02:00
Simone Bordet
3fb06cca21
Issue #476 - HttpClient should not send absolute-form target with non HttpProxy.
...
Fixed test case.
2016-04-01 22:04:15 +02:00
Simone Bordet
68a465d7a3
Merged branch 'jetty-9.3.x' into 'master'.
2016-04-01 19:50:26 +02:00
Simone Bordet
aac9f70243
Fixes #476 - HttpClient should not send absolute-form target with non HttpProxy.
...
Now only sending absolute-form in case of HttpProxy.
2016-04-01 17:46:22 +02:00
Simone Bordet
cdcde53c6b
Merged branch 'jetty-9.3.x' into 'master'.
2016-04-01 14:44:50 +02:00
Simone Bordet
ce04cadb79
Fixes #233 - Add message to idle TimeoutException.
2016-04-01 14:44:26 +02:00
Simone Bordet
1146bce95e
Merged branch 'jetty-9.3.x' into 'master'.
2016-04-01 14:29:38 +02:00
Simone Bordet
4aa512e468
Issue #184 - Empty Realm for BasicAuthentication.
...
Fixed by allowing empty realms.
2016-04-01 14:29:11 +02:00
Simone Bordet
650587ec0a
Merged branch 'jetty-9.3.x' into 'master'.
2016-04-01 12:48:09 +02:00
Simone Bordet
c8fea46e8f
Issue #450 - Client AuthenticationProtocolHandler sends request failures to response failure listener.
...
Fixed by properly forwarding response success in case only the
request failed.
2016-04-01 12:46:12 +02:00
Simone Bordet
a97d29f54b
Removed usages of deprecated Callback.Adapter.
2016-04-01 12:46:12 +02:00
Simone Bordet
3b5ed5a822
Merged branch 'jetty-9.3.x' into 'master'.
2016-03-25 18:34:23 +01:00
Stéphane Martin
1c8b0869fd
[Jetty-Client] fix: don't add host automaticaly on http2 request.
...
All google server answers bad request when Host field is filled with h2 protocol.
Change-Id: I9e16f8c9f56bc26df0b0a933cee0b3a3d6c31921
Signed-off-by: Stéphane Martin <stephane.martin@neotys.com>
2016-03-25 17:45:53 +01:00
Greg Wilkins
acfa1268bc
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-03-24 12:58:06 +11:00
Greg Wilkins
8b228073e3
Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
...
Efficiency improvements
2016-03-24 11:37:39 +11:00
Greg Wilkins
d287f6e6e0
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-03-17 06:27:14 +11:00
Greg Wilkins
5da034db66
Issue #431
...
HttClientTest cleanup
2016-03-17 06:26:20 +11:00
Joakim Erdfelt
3624339ec6
Merge branch 'jetty-9.3.x'
2016-03-16 10:29:29 -07:00
Joakim Erdfelt
13fde643ed
Merge branch 'release-9.3.8' into jetty-9.3.x
2016-03-16 10:03:29 -07:00
Simone Bordet
be7c50fa51
Fixes #409 (Http client authentication with proxy server)
...
Made BasicResult a public static class so that it can be used by
applications via AuthenticationStore.addAuthenticationResult().
2016-03-16 15:52:56 +01:00
Greg Wilkins
1c5a1fc6a2
Issue #431
...
Suppress stack traces from unit tests
2016-03-16 18:19:40 +11:00
Joakim Erdfelt
dcfa0b8910
Merge branch 'jetty-9.3.x'
2016-03-15 07:49:28 -07:00
Simone Bordet
26f8deddf7
Introduced Callback.Nested.
...
Refactored code that was using nested callbacks and removed
unnecessary overrides now that we have default methods.
2016-03-15 15:24:44 +01:00
Joakim Erdfelt
c68d3b1d8d
Updating to version 9.3.9-SNAPSHOT
2016-03-14 09:07:52 -07:00
Joakim Erdfelt
1f3b3f31f4
Updating to version 9.3.8.v20160314
2016-03-14 08:30:20 -07:00
Simone Bordet
35758b6f87
Merged branch 'jetty-9.3.x' into 'master'.
2016-03-11 11:32:32 +01:00
Simone Bordet
3f82886774
Issue #266 (jetty-client redirection process is aborted if redirect response have corrupt body)
...
Fixed by disabling content decode, since we are discarding the
content anway.
2016-03-11 11:31:39 +01:00
Simone Bordet
14c985802e
Merged branch 'jetty-9.3.x' into 'master'.
2016-03-10 22:32:24 +01:00
Simone Bordet
2af81781cd
Issue #258 (Http request to origin server over https proxy contains absolute URL)
...
Fixed by sending the request target in origin-form (and not in
absolute-form) when request is to a https server.
2016-03-10 22:01:17 +01:00
Simone Bordet
4039f00bda
Issue #408 (Http client does not work on https with proxy)
...
Fixed by not considering authority-form targets to be URIs, so that
the request is correctly copied after a 407.
2016-03-10 16:10:45 +01:00
Simone Bordet
e6c2c81bea
Issue #417 (HttpClient: review support for OPTIONS *)
...
Implemented support for OPTIONS * HTTP/1.1 requests.
2016-03-10 16:10:45 +01:00
Simone Bordet
ffbd817254
Issue #416 (Support HTTPS forward proxies)
...
Implemented. We were never checking HttpProxy.isSecure().
Now we do, and if so we wrap the connection factory with an SSL one.
2016-03-10 16:10:45 +01:00
Simone Bordet
d0593ab046
Merged branch 'jetty-9.3.x' into 'master'.
2016-03-08 11:56:14 +01:00
Simone Bordet
18b689b820
Code cleanups.
2016-03-08 11:55:54 +01:00
Simone Bordet
87ea5ac039
Fixed tests.
2016-03-08 11:55:19 +01:00
Simone Bordet
13f267bf8a
Merged branch 'jetty-9.3.x' into 'master'.
2016-03-07 16:11:41 +01:00
Simone Bordet
8ad0944732
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2016-03-07 16:04:46 +01:00
Simone Bordet
d36e5864db
Issue #377 (HttpClient - No supported cipher suites leads to stuck requests)
...
Fixed by rethrowing the exception thrown by onOpen() so that the
SelectorManager can act appropriately.
2016-03-07 15:20:12 +01:00
Simone Bordet
815bc54f5d
Improved failure reporting.
2016-03-07 10:35:07 +01:00