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
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
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
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
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
ce04cadb79
Fixes #233 - Add message to idle TimeoutException.
2016-04-01 14:44:26 +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
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
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
8b228073e3
Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
...
Efficiency improvements
2016-03-24 11:37:39 +11:00
Greg Wilkins
5da034db66
Issue #431
...
HttClientTest cleanup
2016-03-17 06:26:20 +11: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
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
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
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
18b689b820
Code cleanups.
2016-03-08 11:55:54 +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
Simone Bordet
fb05062f0d
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2016-03-05 14:58:50 +01:00
Simone Bordet
a4686bc6a4
Issue #353 (Jetty Client doesn't forward authentication headers with redirects when using proxy)
...
Fixed by making sure that URI matches take into account default HTTP
ports.
2016-03-05 13:29:31 +01:00
Simone Bordet
311c7466b0
Issue #386 (Explicit Authorization header is dropped when handling 407s)
...
Fixed by copying explicitly set authorization headers.
2016-03-03 08:20:55 +01:00
Simone Bordet
6d9b36c8a4
Issue #381 (HttpClient does not send the Authorization header with authenticating proxy)
...
Fixed by tracking correctly the conversation attributes for
authentication, and by applying both proxy authentication results and
server authentication results.
2016-03-02 18:02:20 +01:00
Simone Bordet
a8bbe8749f
Issue #353 (Jetty Client doesn't forward authentication headers with redirects when using proxy)
...
Added test case, but code seems already good.
2016-03-01 16:31:40 +01:00
Simone Bordet
24a203f976
Fixed compilation issue.
2016-03-01 15:58:32 +01:00
Simone Bordet
04bb4af12c
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2016-03-01 15:21:19 +01:00
Simone Bordet
d53766f6fe
Issue #365 (Potential connection leakage in case of aborted request)
...
Fixed by releasing the connection that will not be used to the pool.
2016-03-01 15:19:02 +01:00
Simone Bordet
50422a1a1f
Replaced usages of Random with ThreadLocalRandom in concurrent code.
2016-02-26 10:29:58 +01:00
Greg Wilkins
3c671aa8b6
Issue #346 HttpParser RFC2616 Compliance mode
...
Reimplmented HTTP/0.9 support in RFC2616 compliance mode
2016-02-23 17:33:53 +01:00
Simone Bordet
89ead7561e
Issue #285 (PathContentProvider - Use of Direct buffers without pooling).
...
Introduced PathContentProvider.setByteBufferPool() so that a buffer
pool can be set (for example from HttpClient.getByteBufferPool()).
If present, PathContentProvider will use it.
2016-02-22 11:33:23 +01:00
Simone Bordet
1d04b9ece0
Issue #347 (Avoid sending request using a connection that is idle timing out).
...
Can't make atomic decisions using AtomicInteger _and_ another field.
Now using synchronized.
2016-02-19 12:22:13 +01:00
Greg Wilkins
55eb54799f
Issue #346 HttpParser RFC2616 Compliance mode
...
Added HttpParser.Compliance field to HttpConnectionFactory
2016-02-19 11:41:07 +01:00
Simone Bordet
48c4e08b94
Issue #347 (Avoid sending request using a connection that is idle timing out).
...
Fixed by improving the guard with a timestamp, and checking that the
time elapsed from the last timestamp is enough to prove it is a real
idle timeout.
2016-02-19 11:36:06 +01:00
Simone Bordet
55817a212f
Improved toString().
2016-02-19 11:36:06 +01:00
Simone Bordet
7c7c49f06b
484446 - InputStreamResponseListener's InputStream uses default read (3) and blocks early on never-ending response.
...
Implemented read(byte[],int.int) to fix the reported issue.
Reworked InputStreamResponseListener to use a callback approach
rather than blocking waiting for content.
2016-02-12 11:19:31 +01:00
Simone Bordet
9c075ff85c
Converted anonymous inner classes to lambdas.
2016-02-11 09:37:46 +01:00
Joakim Erdfelt
f98dde5e5b
Updating to version 9.2.16-SNAPSHOT
2016-02-10 15:36:41 -07:00
Joakim Erdfelt
9b6890d3c1
Updating to version 9.2.15.v20160210
2016-02-10 14:49:12 -07:00
Simone Bordet
6306f06e2f
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2016-02-09 18:12:04 +01:00