http: emit abort event from ClientRequest
authorEvan Lucas <evanlucas@me.com>
Wed, 25 Feb 2015 00:11:11 +0000 (18:11 -0600)
committercjihrig <cjihrig@gmail.com>
Wed, 25 Feb 2015 21:40:31 +0000 (16:40 -0500)
commit2ca22aacbdd11c572e71ee1b15af3bec1e04a0c1
treedb2d8f88b3f05e5847c1830176ee52d5b6a77b9b
parent89e133a1d8a3bfd655d5ae4f6b7071a1bbbcdc71
http: emit abort event from ClientRequest

ClientRequest will now emit an abort event the first time abort()
is called.

Semver: Minor
Fixes: https://github.com/joyent/node/issues/9278
PR-URL: https://github.com/iojs/io.js/pull/945
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
doc/api/http.markdown
lib/_http_client.js
test/parallel/test-http-client-abort-event.js [new file with mode: 0644]