Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] SSL async_shutdown() never finishes if called when async_read_some() is in progress
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2018-04-06 12:36:55


On Fri, Apr 6, 2018 at 12:56 AM, Alexander D. via Boost-users
<boost-users_at_[hidden]> wrote:
> The only solution I can think of would be to cancel the read operation, but there's no portable way in asio to do this.

    sock.next_layer().cancel();

?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net