diff options
author | Damien George <damien.p.george@gmail.com> | 2020-03-17 16:43:19 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-03-18 10:51:32 +1100 |
commit | 8f0778b2092a4af1b7109b997a3c9c14766e31e8 (patch) | |
tree | b42c383bac7eb16412d1c6772162fe6abba8aa42 /py/modmath.c | |
parent | 00267aae0b231cc4fec28ddaafd7f8917a75448f (diff) | |
download | micropython-8f0778b2092a4af1b7109b997a3c9c14766e31e8.tar.gz micropython-8f0778b2092a4af1b7109b997a3c9c14766e31e8.zip |
extmod/modlwip: Properly handle non-blocking and timeout on UDP recv.
Fixes UDP non-blocking recv so it returns EAGAIN instead of ETIMEDOUT.
Timeout waiting for incoming data is also improved by replacing 100ms delay
with poll_sockets(), as is done in other parts of this module.
Fixes issue #5759.
Diffstat (limited to 'py/modmath.c')
0 files changed, 0 insertions, 0 deletions