Hi Wembo,
On 01/02/19 19:50, Wenbo Zhu wrote:
1) clarify in the API javadoc that chunked encoding is always applied
even with Connection: close
Chunked encoding is always applied if 0 is passed to
sendResponseHeaders (this is a bit counter-intuitive, but
0 means chunked coding and -1 means Con
Hi Wembo,
On 31/01/2019 23:56, Wenbo Zhu wrote:
Per the HTTP spec, chunked encoding may not be needed if "Connection:
close" is set and the TCP connection will be closed (FIN) to complete
the response body.
Are you referring to HTTP/1.0?
https://tools.ietf.org/html/rfc1945#section-7.2.2
I am
On 31/01/2019 19:23, Daniel Fuchs wrote:
8218133: sun/net/www/protocol/http/ProtocolRedirect.java failed
with "java.net.ConnectException"
https://bugs.openjdk.java.net/browse/JDK-8218133
webrev:
http://cr.openjdk.java.net/~dfuchs/webrev_8218133/webrev.00/
Looks good Daniel.
-Chr