Closed daurnimator closed 1 year ago
If a client closes the connection before sending the expected number of bytes then return EPIPE. This fixes a potential infinite draining loop when trying to trying to :shutdown() a stream.
EPIPE
:shutdown()
I tested it and it works.
For the record, this fixes vulnerability CVE-2023-4540.
If a client closes the connection before sending the expected number of bytes then return
EPIPE
. This fixes a potential infinite draining loop when trying to trying to:shutdown()
a stream.