/ node Public
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
http: suppress data event if req aborted
Re-enable test-http-abort-stream-end and put it into parallel category. Use system random port when calling server.listen() and fix eslint errors. After calling request.abort(), in order to avoid the buffered data to trigger the 'data' event, explicitly remove 'data' event listeners. PR-URL: #13260 Reviewed-By: Brian White <email@example.com> Reviewed-By: Matteo Collina <firstname.lastname@example.org>
- Loading branch information
Showing 2 changed files with 11 additions and 10 deletions.