Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move `error` event handlers to `client` object. This is the actual stream which emits the `error` events. * Clarify how the timeout handler is used * Close the `client` after receiving the response body, we won't reuse it anyway * Ignore `close` events on the `client`, we're the only ones closing it
- Loading branch information
1 parent
39f5054
commit 91bcfa2
Showing
1 changed file
with
19 additions
and
18 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