Skip to content

Detach UDP socket if errno is ENOTCONN (Socket is not connected)

Qian Wu requested to merge qianwww/libslirp:qianwww-master-patch-52726 into master

Detach UDP socket if errno is ENOTCONN (Socket is not connected). See more details in #65 (closed).

Validation: After applying the fix, I validate that the udp_detach(so) code is called and the corresponding fd is unregistered when poll() returns revent POLLHUP(SLIRP_POLL_HUP).

Fixes #65 (closed)

Edited by Samuel Thibault

Merge request reports