HttpClient Send Method Guaranteed Completion
Elliot Barlas
Elliot.Barlas at logmein.com
Wed Oct 6 20:06:59 UTC 2021
Thank you for pointing that out! That addresses my immediate concern. This ought to work just fine.
________________________________
From: Daniel Fuchs <daniel.fuchs at oracle.com>
Sent: Wednesday, October 6, 2021 12:08 PM
To: Elliot Barlas <Elliot.Barlas at logmein.com>; net-dev at openjdk.java.net <net-dev at openjdk.java.net>
Subject: Re: HttpClient Send Method Guaranteed Completion
On 06/10/2021 10:42, Daniel Fuchs wrote:
> } catch (TimeoutException x) {
> // timeout: cancel request to free up
> // any related resources
> cf.cancel();
Correction: that should be `cf.cancel(true)`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20211006/2207ddec/attachment.htm>
More information about the net-dev
mailing list