Skip to content
Commit a9dd3bad authored by David Herrmann's avatar David Herrmann Committed by Kristian Høgsberg
Browse files

connection: fix leaking FDs on buffer-overflow during read



If we read more FDs than we have room for, we currently leak FDs because
we overwrite previous still pending FDs. Instead, we do now close incoming
FDs if the buffer is full and return EOVERFLOW.

Signed-off-by: default avatarDavid Herrmann <dh.herrmann@googlemail.com>
parent 0b399b8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment