Error: poll upd failed: invalid argument
Yorgos Thessalonikefs
yorgos at nlnetlabs.nl
Sun Mar 16 09:19:46 UTC 2025
Hi Marco,
Thanks for bringing this up!
Please do. From a quick look I think you are right
and probably we need to define at least a single item there with a
negative fd.
Best regards,
-- Yorgos
On 14/03/2025 13:24, Marco Peretti - Contractor via Unbound-users wrote:
> Hello,
>
> At one of our customers' sites we have seen the error mentioned in the
> subject line (on WIndows boxes).
>
> I don't know yet what might have triggered that error, but when I look
> at the source code, if I am reading it correctly, I can see why the
> error was logged:
>
> WSAPoll(NULL, 0, (SEND_BLOCKED_WAIT_TIMEOUT/10)<<(retries+1));
>
> I don't think that the first argument can be NULL. See this post
> <https://stackoverflow.com/questions/55524397/why-when-i-add-pollhup-as-
> event-wsapoll-returns-error-invalid-arguments> on StackOverflow and the
> doc for WSAPoll <https://learn.microsoft.com/en-us/windows/win32/api/
> winsock2/nf-winsock2-wsapoll>.
>
> Should I file an issue on Github?
>
> Thanks,
>
> Marco
> LEGAL NOTICE: This email and any files transmitted with it are
> confidential and intended solely for the use of the individual to whom
> they are addressed. If you have received this email in error please
> notify the originator of the message. This footer also confirms that
> this email message has been scanned for the presence of computer
> viruses. Any views expressed in this message are those of the individual
> sender.
More information about the Unbound-users
mailing list