eclipse-ee4j / eclipse-ee4j/jersey
jdk-connector can not stream when POST/PUTing an entity with a known size
Open
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
It looks like the jdk-connector does not stream a request entity when the Content-Length is known: it has to be buffered or chunked, whereas the HttpUrlConnector can (albeit incredibly slowly because of the default 8KB buffer size) transfer an input stream directly when the content length is set on the request.
Having said this, this is fairly minor as the chunked support seems decent and the back-end I'm talking to (openstack swift) is happy to accept a chunked request.
(Sorry, last one I hope)
Contributor guide
Assessment
This issue has not been assessed yet.