diff options
author | Damien George <damien@micropython.org> | 2021-04-14 14:55:55 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-04-14 15:35:31 +1000 |
commit | 7f366a2190825555c16f57f5dfd4d0d57efd7c1f (patch) | |
tree | 412757605db4c4aed07c4fd5a30d6e935cb0ba0f /tests | |
parent | d0e014aa41e32a80a7b591d4de6f2b1ed1298e4d (diff) | |
download | micropython-7f366a2190825555c16f57f5dfd4d0d57efd7c1f.tar.gz micropython-7f366a2190825555c16f57f5dfd4d0d57efd7c1f.zip |
esp32/modsocket: Correctly handle poll/read of unconnected TCP socket.
For an unconnected TCP socket, poll should return WR|HUP and read should
raise ENOTCONN. This is implemented by this commit and now the following
tests pass on esp32: extmod/usocket_tcp_basic.py,
net_hosted/connect_poll.py.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions