Daniel P. Berrange wrote:
that makes the recv() work, but now poll() just gets into an infinite loop calling select() over and over again, never reporting that the socket is now read()able. So something else is now broken. I guess we're now calling into gnulib's rpl_select() instead of the bare Winsock select() and so triggering other badness - presumably more fd vs handle mixups ?
Maybe the fix by Tim Rühsen here: https://github.com/rockdaboot/wget2/issues/136#issuecomment-270692530 would help. But I too still have occasional problems with pool(). -- --gv