VirtualBox

Changeset 16709 in vbox


Ignore:
Timestamp:
Feb 12, 2009 2:22:23 PM (16 years ago)
Author:
vboxsync
Message:

NAT: handling error (other side drop connection) on read

File:
1 edited

Legend:

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

    r16653 r16709  
    11071107                && UNIX_CHECK_FD_SET(so, NetworkEvents, rderr))
    11081108            {
    1109                 if (so->so_state & SS_ISFCONNECTING)
    1110                 {
     1109                if (   so->so_state & SS_ISFCONNECTING
     1110                    || (polls[poll_index].revents & POLLIN) != 0)
     1111                {
     1112                    /**
     1113                     * Check if we need here take care about gracefull connection
     1114                     * @todo try with proxy server
     1115                     */
     1116                    if ((polls[poll_index].revents & POLLIN) != 0)
     1117                        LogRel(("NAT: err happens on read I/O, other side close connection \n"));
    11111118                    so->so_state = SS_NOFDREF;
    11121119                    TCP_INPUT(pData, (struct mbuf *)NULL, sizeof(struct ip), so);
Note: See TracChangeset for help on using the changeset viewer.

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