Skip to content

Catching idleTimeout #388

Answered by ghost
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

It could be added but I think that is overcomplicating a simple issue. Since idleTimeout is used to enforce a particular minimal flow of data, whenever this timeout happens you probably already have backpressure and adding even more backpressure is not ideal. You also have about 55 different cases where proxies and whatnot will drop connections so this isn't really an issue worth making more complicated than what it has to be, because you can never guarantee the connection will in fact receive that close reason. The fact this library even has built-in timeout handling is already covering more than what many other libraries have.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
0 participants
Converted from issue

This discussion was converted from issue #388 on December 09, 2020 03:51.