VirtualBox

Ignore:
Timestamp:
Sep 30, 2010 2:03:21 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66315
Message:

NAT: properly close a socket if we've got POLLHUP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r32431 r32846  
    12021202            /* mark the socket for termination _after_ it was drained */
    12031203            so->so_close = 1;
     1204            /* No idea about Windows but on Posix, POLLHUP means that we can't send more */
     1205#ifndef RT_OS_WINDOWS
     1206            sofcantsendmore(so);
     1207#endif
    12041208            CONTINUE(tcp);
    12051209        }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette