Open SinisterRectus opened 5 years ago
Maybe it needs to match this assert?
https://github.com/luvit/luv/blob/c6cf094e6e5c59339de56fef6deb453981f005cb/tests/test-tcp.lua#L257
For reference, the Libuv test never checks for ECONNRESET
: https://github.com/libuv/libuv/blob/v1.x/test/test-tcp-close-reset.c
This is not an issue in WSL2. No idea what causes it in WSL1. Probably not worth investigating.
This test is new with the upgrade to libuv 1.32.0.
Relevant code: https://github.com/luvit/luv/blob/c6cf094e6e5c59339de56fef6deb453981f005cb/tests/test-tcp.lua#L158
In the
read_start
callback,data
anderr
are bothnil
.Encountered on WSL ubuntu 18.04. Cannot reproduce on native ubuntu 16.04 on a different machine. Not tested on native Windows 10 on the same machine.