Closed ritikmishra closed 11 months ago
Merging #817 (ab214a6) into main (f9b064a) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #817 +/- ##
=======================================
Coverage 79.65% 79.65%
=======================================
Files 72 72
Lines 27862 27862
=======================================
Hits 22193 22193
Misses 5669 5669
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
phy::RawSocket
is written in a way assuming that the underlying socket is nonblocking (e.greceive
checks forio::ErrorKind::WouldBlock
here). However, the socket was not being opened in a nonblocking mode.I found this by trying to use
phy::RawSocket
to test some larger chunk ofsmoltcp
-using code on macOS -- the first call toiface.poll(...)
blocked indefinitely.