From 85bcb281e482cda82c49f4d81981d654017b8f23 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/25591 --- 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 3ba57a19567c6c..bfdeb86406aab4 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -897,7 +897,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])