diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-03-15 00:47:14 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-03-15 00:47:14 +0100 |
commit | e5c22ce5e64d2111f4acb4a8d18a1041e98a239b (patch) | |
tree | 5abc5c4fe79e5c076a40f9b50379561307d1604d | |
parent | 9073bacf50da4e4cb181898869221d72b0359faf (diff) | |
download | htping-e5c22ce5e64d2111f4acb4a8d18a1041e98a239b.tar.gz htping-e5c22ce5e64d2111f4acb4a8d18a1041e98a239b.tar.xz htping-e5c22ce5e64d2111f4acb4a8d18a1041e98a239b.zip |
no need to close idle connections, we disable keepalive
-rw-r--r-- | htping.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/htping.go b/htping.go index a3c6832..b4ac426 100644 --- a/htping.go +++ b/htping.go @@ -147,7 +147,6 @@ func ping(url string, seq int, results chan result) { written, _ := io.Copy(ioutil.Discard, res.Body) res.Body.Close() - client.CloseIdleConnections() stop := time.Now() |