hannes<p>Some time ago, I debugged and fixed an interesting issue, related to fail behaviour of TCP connection establishment... read the writeup at <a href="https://semgrep.dev/blog/2023/http-request-failed-timeout-issue-in-ocaml" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">semgrep.dev/blog/2023/http-req</span><span class="invisible">uest-failed-timeout-issue-in-ocaml</span></a> (reminds me of an issue from a while ago where I had to dig through the entire stack <a href="https://hannes.robur.coop/Posts/BadRecordMac" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hannes.robur.coop/Posts/BadRec</span><span class="invisible">ordMac</span></a> )</p><p>TL;DR: sit down and rethink your failure possibilities (including drop and reset), or you've to deal with timeouts...</p><p><a href="https://mastodon.social/tags/MirageOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MirageOS</span></a> <a href="https://mastodon.social/tags/OCaml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OCaml</span></a> <a href="https://mastodon.social/tags/DNS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DNS</span></a> <a href="https://mastodon.social/tags/HappyEyeballs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HappyEyeballs</span></a></p>