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
Simone Bordet
145e4bee71
487511 - Jetty HTTP won't work on turkish systems.
...
Fixed usages of toLowerCase() and toUpperCase() to use Locale.ENGLISH.
2016-02-09 17:50:26 +01:00
Joakim Erdfelt
288f2e1f51
Fixing javadoc: Invalid member type qualification
2016-01-21 16:53:04 -07:00
Joakim Erdfelt
e0ce545ad7
Updating to version 9.3.8-SNAPSHOT
2016-01-15 17:15:14 -07:00
Joakim Erdfelt
c0b191119b
Updating to version 9.3.7.v20160115
2016-01-15 16:40:15 -07:00
Joakim Erdfelt
b7f9c9aca9
Updating to version 9.3.7-SNAPSHOT
2016-01-13 08:21:01 -07:00
Joakim Erdfelt
21ca3f6690
Updating to version 9.3.7.RC1
2016-01-13 07:30:24 -07:00
Simone Bordet
17a1e76ba0
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2016-01-05 11:25:20 +01:00
Simone Bordet
0050ad5a99
484621 - Client hangs till timeout when Authentication.authenticate() throws exception.
...
Fixed by surrounding the call to Authentication.authenticate() with a
try/catch and acting appropriately in case of exceptions.
2016-01-05 11:03:35 +01:00
Joakim Erdfelt
cd39fd84fe
Happy New Year 2016
2016-01-04 14:31:22 -07:00
Joakim Erdfelt
b5db18378d
Happy New Year 2016
2016-01-04 14:21:26 -07:00
Simone Bordet
8f4cc73613
484585 - Avoid sending request using a connection that is idle timing out.
...
Rewritten handling of idle timeouts in light of issue #484718 .
2015-12-21 11:47:05 +01:00
Simone Bordet
988e596c71
484585 - Avoid sending request using a connection that is idle timing out.
...
Added guard to avoid that the idle timeout expires just before
sending the request.
Reworked the way idle timeouts are handled, to support the case where
the idle timeout just expired and the request can be tried on a
different connection/channel.
2015-12-18 15:56:31 +01:00
Simone Bordet
bf9f39dc17
Improved exception reporting.
2015-12-14 15:00:19 +01:00
Simone Bordet
8d28be5786
484210 - HttpClient over HTTP/2 should honor maxConcurrentStreams.
...
Fixed by sending queued requests in a loop up to maxConcurrentStreams.
Also updating the maxConcurrentStreams value when received from the
server.
2015-12-11 18:00:48 +01:00
Simone Bordet
e674d3ec5e
483878 - Parallel requests stuck via the http client transport over HTTP/2.
2015-12-11 17:58:31 +01:00
Simone Bordet
c5e56e72e6
Added concurrent load tests.
2015-12-09 10:51:24 +01:00
Joakim Erdfelt
7cdc58e6b9
Merge branch 'jetty-9.2.x' into feature/gziphandler-config
2015-12-08 14:56:26 -07:00
Greg Wilkins
3527c6a71b
StringUtil.csvSplit(String)
...
Conflicts:
jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractJettyMojo.java
jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java
jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PushCacheFilter.java
jetty-util/src/main/java/org/eclipse/jetty/util/StringUtil.java
jetty-xml/src/main/java/org/eclipse/jetty/xml/XmlConfiguration.java
2015-12-08 14:54:33 -07:00
Simone Bordet
8d6206b8c7
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2015-12-08 22:20:05 +01:00
Simone Bordet
1693dd135d
483857 - jetty-client onComplete isn't called in case of exception in GZIPContentDecoder.
...
Fixed by catching the exceptions and failing the callbacks.
Also using return values from HttpReceiver to compute what to
return to the parser.
2015-12-08 22:10:27 +01:00
Simone Bordet
eac966cb9b
483009 - MultiPartContentProvider may send wrong Content-Length.
...
Introduced method close() to signal when no more parts will be added,
and calculating the Content-Length in setListener() only if when closed.
2015-11-25 16:02:21 +01:00
Greg Wilkins
204591ce82
482855 - Content-Length omitted for POST requests with empty body
...
Removed HTTP 0.9 support
A few code simplifications
Fixed clients relying on Content-Length headers being ignored
2015-11-25 20:50:59 +11:00
Joakim Erdfelt
edf686fe0a
Updating to version 9.3.7-SNAPSHOT
2015-11-06 12:13:00 -07:00
Joakim Erdfelt
d737e1c638
Updating to version 9.3.6.v20151106
2015-11-06 11:09:32 -07:00
Joakim Erdfelt
ec8f8d3e4f
Updating to version 9.2.15-SNAPSHOT
2015-11-06 11:06:48 -07:00
Joakim Erdfelt
ecba378f5c
Updating to version 9.2.14.v20151106
2015-11-06 10:32:14 -07:00
Simone Bordet
afc6b9e5c0
Fixed compilation issues.
2015-11-04 15:00:39 +01:00
Simone Bordet
7a34631397
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2015-11-04 13:40:44 +01:00
Simone Bordet
0172b68301
481006 - SSL requests intermittently fail with EOFException when SSL renegotiation is disallowed.
...
Fixed by notifying the Connection promise from onOpen() rather than
just after the creation of the connection.
2015-11-04 13:26:27 +01:00
Simone Bordet
b102bd507a
419966 - Add ContentProvider that submits multipart/form-data.
...
Second implementation after feedback from the community.
2015-11-02 18:17:51 +01:00
Simone Bordet
45cd1f1ce6
Improved thread safety.
2015-10-30 11:17:28 +01:00
Simone Bordet
4134b1eca8
419966 - Add ContentProvider that submits multipart/form-data.
...
Implemented this functionality.
2015-10-27 15:32:26 +01:00
Simone Bordet
1ab64ed080
Fixed test.
...
Made sure that read interest or upgrade only happen after the write
has completed.
2015-10-26 12:34:17 +01:00
Simone Bordet
53df0cba3f
Avoid to dump the destinations twice.
2015-10-22 20:49:48 +02:00