Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

reset the temporary error catcher delay after successful accept #97

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

marten-seemann
Copy link
Contributor

I'm not sure we need the temporary error catcher in the first place (why would Accept return a temporary error? At least for QUIC, it never does), but if we're using it, we should reset it after successfully accepting a connection (see documentation of catcher.IsTemporary).

@Stebalien
Copy link
Member

IIRC, we needed it for some transient errors in TCP (e.g., "no more file descriptors").

@marten-seemann marten-seemann merged commit aeeaaa1 into master Dec 21, 2021
@marten-seemann marten-seemann deleted the reset-temp-err-catcher branch December 21, 2021 08:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants