Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
slirp: handle deferred ECONNREFUSED on non-blocking TCP sockets
slirp currently only handles ECONNREFUSED in the case where connect() returns immediately with that error; since we use non-blocking sockets, most of the time we won't receive the error until we later try to read from the socket. Ensure that we deliver the appropriate RST to the guest in this case. Signed-off-by: Steven Luo <[email protected]> Reviewed-by: Edgar E. Iglesias <[email protected]> Signed-off-by: Samuel Thibault <[email protected]>
- Loading branch information