-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Adapt http2 connection for Node.js 8.11.2 and Node.js 10
Node.js 8.11.2 and Node.js 10 do not trigger the "close" event on the socket any more. Also, there is new method "close" on the http2 client, which replaces the earlier (still existing) "destroy". The complete end of the end of the http2 communication can be caught only in the callback of the "close" or "destroy" methods and not in the "close" event handler on the socket any more.
- Loading branch information
Showing
1 changed file
with
17 additions
and
12 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