From b4a0ca2291bd7668801240a7ea2ecedaefb7170a Mon Sep 17 00:00:00 2001 From: James M Snell Date: Tue, 23 Jun 2015 20:42:49 -0700 Subject: [PATCH] doc: improve http.abort description Per #4409, the documentation on http.abort is a bit lacking. This provides a slight improvement. Reviewed-By: James M Snell PR-URL: https://github.com/joyent/node/pull/25565 --- doc/api/http.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/http.markdown b/doc/api/http.markdown index 98da286460c..2ec0cbfcb25 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -910,7 +910,8 @@ is finished. ### request.abort() -Aborts a request. (New since v0.3.8.) +Marks the request as aborting. Calling this will cause remaining data +in the response to be dropped and the socket to be destroyed. ### request.setTimeout(timeout[, callback])