-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not setup the response timeout if the stream has already ended (
#53) this change ensures we will not trigger a timeout caused by a slow stream pipeline if the stream has already ended. this subtly shifts the meaning of the timeout from "the response has been fully consumed" to "the socket behind the response has finished" which i feel maintains the spirit of the timeout while also not needlessly throwing errors when we're not using the socket any more.
- Loading branch information
Showing
2 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters