From 8bbdbccbb6dd83b1c415e9a46b85cfab631bbf7a Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 18 Nov 2020 06:53:25 -0800 Subject: [PATCH] doc: revise agent.destroy() text PR-URL: https://github.com/nodejs/node/pull/36163 Reviewed-By: Luigi Pinca Reviewed-By: Harshitha K P Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- doc/api/http.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/http.md b/doc/api/http.md index 248e4468e042ae..104682012ce69f 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -253,8 +253,8 @@ Destroy any sockets that are currently in use by the agent. It is usually not necessary to do this. However, if using an agent with `keepAlive` enabled, then it is best to explicitly shut down -the agent when it will no longer be used. Otherwise, -sockets may hang open for quite a long time before the server +the agent when it is no longer needed. Otherwise, +sockets might stay open for quite a long time before the server terminates them. ### `agent.freeSockets`