Re: Why are com.sun.net.HttpExchange attributes shared between instances?

2019-12-11 Thread Michael McMahon
Hi, I think I agree that the spec is not completely clear on this point. While it doesn't explicitly say that attributes are per-exchange, it does kind of imply that. My preference would be to tighten up the spec; make clear what is normative (the current behavior) and distinguish from that w

Re: Multi Part publisher for java.net.http.HttpClient

2019-12-11 Thread Daniel Fuchs
Hi Behrang, net-dev is a better list to discuss networking/http related topics. On 03/12/2019 12:22, Behrang Saeedzadeh wrote:> Hi all, > > Are there any plans to implement a "multipart/form-data" BodyPublisher in > Java 14 or later? There are no plans - especially not for 14 since we will be

Re: [PATCH] 7006496: Use modern Windows API to retrieve OS DNS servers

2019-12-11 Thread Aleks Efimov
Hi Anuraag, The webrev with the latest patch can be viewed here: http://cr.openjdk.java.net/~aefimov/anuraaga/7006496/02 Thanks for replacing FirstDnsSuffix usages with DnsSuffix. I've double checked it with native application and can confirm that on my test host (Microsoft Windows Server 2016

Re: [PATCH] 7006496: Use modern Windows API to retrieve OS DNS servers

2019-12-11 Thread Anuraag Agrawal
Hi Aleksei, Thanks for the feedback. I had thought about it but felt that it might be better to leave as much business logic to Java vs native as possible as a general principle. But if it makes more sense to do it native here happy to make the change :) Thanks, - Anuraag On Thu, Dec 12, 2019, 0

Re: Why are com.sun.net.HttpExchange attributes shared between instances?

2019-12-11 Thread Julien Royer
Hi, > On 11 Dec 2019, at 10:48, Michael McMahon > wrote: > Go ahead and file a bug and we can take it from there. > Thank you Michael. > Bug Report Submission Complete > Thank you for taking the time to provide us with your details. > We will review your report and have assigned it an internal

Re: Why are com.sun.net.HttpExchange attributes shared between instances?

2019-12-11 Thread Chris Hegarty
> On 11 Dec 2019, at 17:35, Julien Royer wrote: > > Hi, > >> On 11 Dec 2019, at 10:48, Michael McMahon >> wrote: >> Go ahead and file a bug and we can take it from there. >> > Thank you Michael. > > > Bug Report Submission Complete > > Thank you for taking the time to provide us with your

Re: Is SPNEGO supposed to work out of the box on domain joined Windows client

2019-12-11 Thread Daniel Fuchs
Hi, By default transparent authentication is disabled on windows. You may have to specify a non-default value for the jdk.http.ntlm.transparentAuth property [1], or configure an Authenticator [2] that has the appropriate credentials. [1] https://bugs.openjdk.java.net/browse/JDK-8225506 [2] http

Re: Is SPNEGO supposed to work out of the box on domain joined Windows client

2019-12-11 Thread Weijun Wang
> On Dec 12, 2019, at 8:23 AM, Daniel Fuchs wrote: > > Hi, > > By default transparent authentication is disabled on windows. > You may have to specify a non-default value for the > jdk.http.ntlm.transparentAuth property [1], or configure > an Authenticator [2] that has the appropriate credent