Protocol.eof_received()
Calls when the other end signals it won’t send any more data (for example by calling write_eof()
, if the other end also uses asyncio).
This method may return a false value (including None), in which case the transport will close itself. Conversely, if this method returns a true value, closing the transport is up to the protocol. Since the default implementation returns None, it implicitly closes the connection.
Note
Some transports such as SSL don’t support half-closed connections, in which case returning true from this method will not prevent closing the connection.
Please login to continue.