summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-05-02 22:31:00 +1000
committerDamien George <damien.p.george@gmail.com>2018-05-02 22:31:00 +1000
commit6681eb809a815a049ca069d522b9ad07548db535 (patch)
tree1963f8ce8f23132d323220889ebdc6cac2e6fae2 /py
parentfb7dabb971cdc15aca7e26cbd9cf733fe7b823cf (diff)
esp32/modsocket: Correctly handle reading from a peer-closed socket.
If a socket is cleanly shut down by the peer then reads on this socket should continue to return zero bytes. The lwIP socket API does not have this behaviour (it only returns zero once, then blocks on subsequent calls) so this patch adds explicit checks and logic for peer closed sockets.
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions