VirtualBox

Changeset 49203 in vbox for trunk/src/VBox/NetworkServices


Ignore:
Timestamp:
Oct 21, 2013 4:03:07 AM (11 years ago)
Author:
vboxsync
Message:

pxtcp_pmgr_chan_pollin: don't request POLLIN on the socket if we have
already received EOF while the message was in transit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/pxtcp.c

    r49016 r49203  
    469469    LWIP_ASSERT1(pxtcp->pmhdl.data == (void *)pxtcp);
    470470    LWIP_ASSERT1(pxtcp->pmhdl.slot > 0);
     471
     472    if (pxtcp->inbound_close) {
     473        return POLLIN;
     474    }
    471475
    472476    pxtcp->events |= POLLIN;
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