Greg Wilkins
bbd61f8e19
Multiple mixed in changes and improvements
...
Simplified HttpParser as per rfc7230
implemented local/remote hpack max table sizes
2014-06-11 15:16:40 +02:00
Greg Wilkins
8f4aeeeb8d
updated version to 10.0.0-SNAPSHOT
2014-06-04 15:08:54 +02:00
Simone Bordet
7918a58c71
Using Callback.Adapter.INSTANCE to avoid unneeded allocations.
2014-05-19 18:49:17 +02:00
Simone Bordet
d75b9177c5
432939 - Jetty Client ContentResponse should have methods such as getContentType() and getMediaType().
...
Introduced ContentResponse.getMediaType() and ContentResponse .getEncoding(),
as well as BufferingResponseListener.getMediaType() to make the media
type and the encoding available to applications.
2014-05-15 10:58:49 +02:00
Simone Bordet
b603964bb6
433089 - Client should provide Request.accept() method, like JAX-RS 2.0 Invocation.Builder.accept().
2014-05-15 10:23:24 +02:00
Simone Bordet
fa51281546
Avoided allocation of rarely used containers.
2014-05-15 09:59:31 +02:00
Simone Bordet
eb1900d10b
428966 - Per-request cookie support.
2014-05-15 09:57:20 +02:00
Simone Bordet
660c05d399
URLEncoding also parameter names.
2014-05-15 09:09:41 +02:00
Simone Bordet
c322ed4b90
419972 - Support sending forms (application/x-www-form-urlencoded).
...
Implemented introducing HttpClient.FORM() method and
FormContentProvider, based on Fields.
2014-05-14 23:54:26 +02:00
Simone Bordet
bf7ab5d326
420368 - Default content types for ContentProviders.
...
Introduced ContentProvider.Typed to specify a content type along with
the content.
2014-05-14 23:54:25 +02:00
Simone Bordet
be3848a371
433689 - Evict old HttpDestinations from HttpClient.
2014-05-14 11:34:34 +02:00
Simone Bordet
a803465551
Invalidating the content decoders in case of Iterator.remove().
2014-05-14 10:28:45 +02:00
Simone Bordet
521aa1d566
Improved Javadocs.
2014-05-14 09:58:10 +02:00
Simone Bordet
20dbde165e
434578 - Complete listener not called if redirected to an invalid URI.
...
Fixed by catching the exception and failing properly the redirect.
2014-05-11 11:22:39 +02:00
Simone Bordet
d92ac8062b
Avoid IllegalStateException in case of abort concurrent to header
...
generation.
2014-05-11 11:21:11 +02:00
Simone Bordet
0e4a903764
Removed deprecated getConversationID() method.
2014-05-11 10:14:03 +02:00
Greg Wilkins
51c5a4c833
425421 ContainerLifeCycle does not start added beans in started state
2014-05-05 14:53:53 +02:00
Simone Bordet
c4b5e3d3d7
Introduced CompletableCallback to handle asynchronous content on clients.
2014-05-04 23:14:45 +02:00
Simone Bordet
9b388750fa
433916 - HttpChannelOverHttp handles HTTP 1.0 connection reuse incorrectly.
...
Fixed by properly checking the HTTP version and whether the
Connection: keep-alive header is present.
2014-05-04 19:42:22 +02:00
Simone Bordet
f628241875
433916 - HttpChannelOverHttp handles HTTP 1.0 connection reuse incorrectly.
...
Fixed by properly checking the HTTP version and whether the
Connection: keep-alive header is present.
2014-05-04 16:03:26 +02:00
Simone Bordet
a1d18a157d
Added onReadFailure() callback to allow subclasses to perform actions
...
in case of read failures.
2014-05-02 22:45:56 +02:00
Simone Bordet
43454ebd0a
Merged branch 'master' into '431642'.
2014-04-30 15:34:54 +02:00
Simone Bordet
906dc83691
431642 - Implement ProxyServlet using Servlet 3.1 async I/O.
...
Implemented correctly AsyncProxyServlet, tests passing.
2014-04-30 15:34:30 +02:00
Greg Wilkins
1c97fd3c42
433692 improved buffer resizing
2014-04-30 11:57:50 +02:00
Greg Wilkins
2e261b75d6
433692 improved buffer resizing
2014-04-29 20:36:13 +02:00
Simone Bordet
ca67a9e10d
Merged branch 'master' into '431642'.
2014-04-29 15:59:23 +02:00
Simone Bordet
b4d1060e88
Avoid to null out the cookieStore field in doStop(), to prevent random NPEs while stopping.
2014-04-29 15:15:55 +02:00
Simone Bordet
aeb27cd461
431642 - Implement ProxyServlet using Servlet 3.1 async I/O.
...
Intermediate commit that implements asynchronous content in HttpClient,
for the HTTP protocol, passing the tests.
This work needs to be extended to FCGI and SPDY and finally implement
the asynchronous proxy servlet.
2014-04-19 12:36:15 +02:00
Simone Bordet
04f4e6fb5b
Merged branch 'master' into '431642'.
2014-04-18 15:08:53 +02:00
Simone Bordet
f2e2eec4d5
Merged branch 'jetty-9.1.x' into 'master'.
2014-04-15 09:04:20 +02:00
Simone Bordet
361d8e5bd2
432528 - IllegalStateException when using DeferredContentProvider.
...
Fixed by using the correct idiom for calling the IteratingCallback.
2014-04-15 09:03:30 +02:00
Simone Bordet
d6e538a9d2
Avoid duplicating existing headers when copying requests.
2014-04-15 09:03:30 +02:00
Simone Bordet
3717115059
Merged branch 'jetty-9.1.x' into 'master'.
2014-04-11 17:02:26 +02:00
Simone Bordet
5eeda38f0a
432270 - Slow requests with response content delimited by EOF fail.
...
Fixed also in the FastCGI module.
2014-04-11 16:18:38 +02:00
Simone Bordet
4975cae881
Further progress on 431642 (async proxy servlet).
2014-04-11 09:45:21 +02:00
Simone Bordet
aebab6919c
Improved IllegalStateException reporting.
2014-04-10 09:04:40 +02:00
Simone Bordet
dfa2d05bcc
432270 - Slow requests with response content delimited by EOF fail.
...
Better handling of the idle case, and closing the connection only
if the response can be failed.
2014-04-10 09:04:11 +02:00
Simone Bordet
74d66a87f6
Made the test more reliable.
2014-04-10 09:03:19 +02:00
Simone Bordet
3cd7dfd445
432270 - Slow requests with response content delimited by EOF fail.
...
Fixed by using a flag to determine the need to close the connection,
and by closing the connection only at exchange termination.
2014-04-10 09:00:17 +02:00
Simone Bordet
e3662a9b23
432145 - Pending request is not failed when HttpClient is stopped.
...
Fixed by fixing the code in close() to also abort pending exchanges.
Reviewed for HTTP, FastCGI and SPDY transports.
2014-04-10 08:59:30 +02:00
Greg Wilkins
0e458c80f4
reverted version to SNAPSHOT
2014-04-10 16:37:25 +10:00
Simone Bordet
44fe5daa69
Restored proper logging level.
2014-04-09 18:33:23 +02:00
Simone Bordet
7e3c7f3588
Temporary commit to understand why HttpReceiverOverHTTPTest.test_Receive_GZIPResponseContent_Fragmented() fails.
...
To be reverted.
2014-04-09 01:33:20 +02:00
Simone Bordet
a8de18379c
Improved IllegalStateException reporting.
2014-04-09 00:08:30 +02:00
Simone Bordet
5f8513e67e
432270 - Slow requests with response content delimited by EOF fail.
...
Better handling of the idle case, and closing the connection only
if the response can be failed.
2014-04-08 17:38:04 +02:00
Simone Bordet
dd8120294d
Made the test more reliable.
2014-04-08 13:57:55 +02:00
Simone Bordet
2e7df0e16a
432270 - Slow requests with response content delimited by EOF fail.
...
Fixed by using a flag to determine the need to close the connection,
and by closing the connection only at exchange termination.
2014-04-08 13:57:27 +02:00
Simone Bordet
2897027f53
Merged branch 'master' into 'jetty-9.2.x'.
2014-04-07 17:51:23 +02:00
Simone Bordet
cc0775133e
432145 - Pending request is not failed when HttpClient is stopped.
...
Fixed by fixing the code in close() to also abort pending exchanges.
Reviewed for HTTP, FastCGI and SPDY transports.
2014-04-07 17:39:29 +02:00
Simone Bordet
b135920bfc
Restored HttpSender tests.
2014-04-07 17:39:29 +02:00