[noPoll] nopoll_conn_wait_until_connection_ready does not wait
Pete Lomax
petelomax2 at gmail.com
Mon Jan 15 19:33:55 CET 2018
Running on windows 10, 32 bit.
I believe the problem is that kernel32/Sleep accepts milliseconds, but the
function tries to sleep for 0.5ms, which will land as 0 and return
immediately. It gets though 50,000,000 in blocks of 500 in a tiny fraction
of a second, rather than the 5 whole seconds I expected it to wait for.
Simply upping the sleep from 0.5ms to 1ms solved the issue.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.aspl.es/pipermail/nopoll/attachments/20180115/a1e21353/attachment.html>
More information about the noPoll
mailing list