summaryrefslogtreecommitdiff
path: root/doc/api/http.md
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2019-10-02 00:31:57 -0400
committerRich Trott <rtrott@gmail.com>2019-10-03 22:57:33 -0700
commit24011de9071fcd092fab29719d3fa8269a95288a (patch)
tree47241142f5cc13c3dbf3f6bf1fdd94984b732edd /doc/api/http.md
parent24d43ca1b1d65c95f22a14197350e0803adf918b (diff)
downloadandroid-node-v8-24011de9071fcd092fab29719d3fa8269a95288a.tar.gz
android-node-v8-24011de9071fcd092fab29719d3fa8269a95288a.tar.bz2
android-node-v8-24011de9071fcd092fab29719d3fa8269a95288a.zip
doc: add explicit bracket for markdown reference links
Use explicit trailing `[]` for reference markdown links to prevent implicit links when references are added to documents. PR-URL: https://github.com/nodejs/node/pull/29808 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/http.md')
-rw-r--r--doc/api/http.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index f1d787adaa..73de8c36b2 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -71,7 +71,7 @@ the requests to that server, but each one will occur over a new connection.
When a connection is closed by the client or the server, it is removed
from the pool. Any unused sockets in the pool will be unrefed so as not
to keep the Node.js process running when there are no outstanding requests.
-(see [`socket.unref()`]).
+(see [`socket.unref()`][]).
It is good practice, to [`destroy()`][] an `Agent` instance when it is no
longer in use, because unused sockets consume OS resources.