RFR: 8270290: NTLM authentication fails if HEAD request is used

2021-07-12 Thread Alex Kasko
When HEAD request is used with a proxy (or a server) that requires NTLM, authentication fails when server returns large (8kb+) body along with NTLMSSP_CHALLENGE response. Proposed fix is to check for ongoing NTLM auth in `reset()` and consume the response body in this case. Alternatively the w

Re: RFR: 8270290: NTLM authentication fails if HEAD request is used

2021-07-12 Thread Alex Kasko
On Mon, 12 Jul 2021 10:34:54 GMT, Alex Kasko wrote: > When HEAD request is used with a proxy (or a server) that requires NTLM, > authentication fails when server returns large (8kb+) body along with > NTLMSSP_CHALLENGE response. > > Proposed fix is to check for ongoing NTLM auth in `reset()` a

Re: RFR: 8260265: UTF-8 by Default

2021-07-12 Thread Jesse Glick
On Thu, 8 Jul 2021 21:23:00 GMT, Naoto Sato wrote: > This is an implementation for the `JEP 400: UTF-8 by Default`. The gist of > the changes is `Charset.defaultCharset()` returning `UTF-8` and > `file.encoding` system property being added in the spec, but another notable > modification is in

RFR: 8263531: Remove unused buffer int

2021-07-12 Thread Christoph Langer
The change for JDK-8257001 left an obsolete int field. Remove it. - Commit messages: - JDK-8263531 Changes: https://git.openjdk.java.net/jdk/pull/4759/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4759&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8263531