Thank you for pointing that out! That addresses my immediate concern. This 
ought to work just fine.
________________________________
From: Daniel Fuchs <daniel.fu...@oracle.com>
Sent: Wednesday, October 6, 2021 12:08 PM
To: Elliot Barlas <elliot.bar...@logmein.com>; net-dev@openjdk.java.net 
<net-dev@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)`

Reply via email to