Relates :
|
|
Relates :
|
|
Relates :
|
JDK-8161016 fixes the behavior of HttpURLConnection when using a ProxySelector. The fixed code does not use a direct connection, but moreover it does not even retry to connect (before fixed, it does retry). This behavior does not conform to HTTP (RFC 7230), which says idempotent methods retry to connect. See: https://tools.ietf.org/html/rfc7231#section-4.2.2
|