Re: HttpClient Send Method Guaranteed Completion

2021-10-07 Thread Elliot Barlas
. From: Michael McMahon Sent: Thursday, October 7, 2021 7:40 AM To: Daniel Fuchs ; Elliot Barlas ; net-dev@openjdk.java.net Subject: Re: HttpClient Send Method Guaranteed Completion I think we should at least clarify the behavior of HttpRequest.Builder.timeout() ie. that it is specifically related

Re: HttpClient Send Method Guaranteed Completion

2021-10-06 Thread Elliot Barlas
Thank you for pointing that out! That addresses my immediate concern. This ought to work just fine. From: Daniel Fuchs Sent: Wednesday, October 6, 2021 12:08 PM To: Elliot Barlas ; net-dev@openjdk.java.net Subject: Re: HttpClient Send Method Guaranteed

Re: HttpClient Send Method Guaranteed Completion

2021-10-06 Thread Elliot Barlas
is still a footprint within HttpClient. Over time, socket handles, callback objects, and other resources can accumulate with no visibility to application code. From: Daniel Fuchs Sent: Wednesday, October 6, 2021 2:42 AM To: Elliot Barlas ; net-dev@openjdk.java.net

HttpClient Send Method Guaranteed Completion

2021-10-05 Thread Elliot Barlas
130) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@16.0.2/ThreadPoolExecutor.java:630) at java.lang.Thread.run(java.base@16.0.2/Thread.java:831) Elliot Barlas elliot.bar...@logmein.com

java.net.http.HttpClient Redirect Policy

2019-10-18 Thread Elliot Barlas
Net-dev, I'm attempting to use java.net.http.HttpClient to make a login form submission and follow a sequence of redirects. To my surprise, the HttpClient redirect internals (jdk.internal.net.http.HttpRequestImpl) seem to carry the original request body into subsequent requests. In my case, that