Open
Description
Version
latest
Platform
Documentation related
Description
Some methods in TcpStream
contain a note regarding their cancel safety, such as TcpStream::readable
. However, this information is not present with the TcpStream::peek
method. The only reference I could find there, is that it uses the recv
system call with the MSG_PEEK
argument, potentially referring the user to dig into the abyss of the respective Unix manual pages.
I expected to see this happen: A subsection on cancel safety for the TcpStream::peek
method.