• Paul Sokolovsky's avatar
    extmod/modlwip: Fix for loss of data in unaccepted incoming sockets. · 70632100
    Paul Sokolovsky authored
    When lwIP creates a incoming connection socket of a listen socket, it
    sets its recv callback to one which discards incoming data. We set
    proper callback only in accept() call, when we allocate Python-level
    socket where we can queue incoming data. So, in lwIP accept callback
    be sure to set recv callback to one which tells lwIP to not discard
    incoming data.
    70632100