Commit 5f98e1d3 authored by not-a-robot's avatar not-a-robot Committed by GitHub
Browse files

Auto merge of #445 - xxvv:master, r=badboy

fix: should close socket fd when retry connect (tcp)
parents b7205d35 64d1ec83
......@@ -384,6 +384,7 @@ addrretry:
if (++reuses >= REDIS_CONNECT_RETRIES) {
goto error;
} else {
redisContextCloseFd(c);
goto addrretry;
}
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment