New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resolve: TCP fast open is broken? #9283
Comments
Below is a part of journal log (with b961fbd).
|
Hmm, it seems storage that 'UDP+EDNS0+DO' is used just after 'retrying via TCP'.
|
Before #8849, the spurious log is also found. But works fine...
|
/cc @irtimmer |
I think I've found the issue. I probably made some mistake when changing the read and write functions to use negative error return codes. In case TCP Fast Open can't send data it will return the error EINPROGRESS, which get replaced by EAGAIN, but wasn't handled correctly. Therefore resolved closed the connection instead of invoking the write function again. |
During the transition from system functions using errno to our own read and write functions with negative return codes some errors where introduced. This patch correctly convert errno to negative return codes for read and write and fix checks still using errno instead of the return code. Closes systemd#9283
DNSSEC=yes
is set.Before #8849 is merged, fedoraproject.org can be resolved.
However, after #8849 is merged, (e.g. 73c718a), it is failed:
With #9280, some hosts can be resolved, but not all.
Below is the result of
resolvectl
.The text was updated successfully, but these errors were encountered: