This repository has been archived by the owner on May 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: close stream immediately on error
If there is an error in the uv_read_cb, close the uv_stream_t immediately instead of waiting until the uv_write_cb, and only close the stream in after_write() if it hasn't been closed already.
- Loading branch information
1 parent
76eb751
commit 4d905fb
Showing
1 changed file
with
11 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