diff options
author | not-a-robot <not-a-robot@rediger.net> | 2016-07-09 13:26:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-09 13:26:58 +0200 |
commit | 5f98e1d35dcf00a026793ada2662f6e1ba77eb17 (patch) | |
tree | ccfc4ba1dc2999f6a065f719bd51ee8f164bbff7 | |
parent | b7205d35fd3262391be924b53eea842522149025 (diff) | |
parent | 64d1ec8342e50354e6e3c5757bb99d4652dd9f3c (diff) |
Auto merge of #445 - xxvv:master, r=badboy
fix: should close socket fd when retry connect (tcp)
-rw-r--r-- | net.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -384,6 +384,7 @@ addrretry: if (++reuses >= REDIS_CONNECT_RETRIES) { goto error; } else { + redisContextCloseFd(c); goto addrretry; } } else { |