Open
Description
shutdown_input / shutdown_output comment says:
/// Disables output to the socket.
///
/// Current or future writes that have not been successfully flushed
/// will immediately fail with an error. This is useful to abort
/// operations on a socket that is not making progress due to a
/// peer failure.
void shutdown_output();
/// Disables input from the socket.
///
/// Current or future reads will immediately fail with an error.
/// This is useful to abort operations on a socket that is not making
/// progress due to a peer failure.
void shutdown_input();
What means immediately here? Is it invoking future with error like boost::asio socket do,. or pushing some task to some queue and it will be called in future? How debug task reordering and preempting may be involved here?
Metadata
Metadata
Assignees
Labels
No labels