diff options
author | Steven Luo <steven+qemu@steven676.net> | 2016-04-06 22:04:55 -0700 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-04-07 13:02:05 +0200 |
commit | c9bea8b601ca124ae08787e40c567183c190428b (patch) | |
tree | e6b1415b1fddd106bb3f063c6052e447c897d2da /slirp.h | |
parent | cc7b3257e0fff82542174c41e599d171244b0ee2 (diff) | |
download | slirp-2.6.0-rc2.zip slirp-2.6.0-rc2.tar.gz slirp-2.6.0-rc2.tar.bz2 |
slirp: handle deferred ECONNREFUSED on non-blocking TCP socketsv2.6.0-rc2
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 <steven+qemu@steven676.net>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp.h')
0 files changed, 0 insertions, 0 deletions