Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
64d1ec83
Commit
64d1ec83
authored
Jul 07, 2016
by
WSL
Browse files
fix: should close socket fd when retry connet remote (tcp)
parent
b7205d35
Changes
1
Hide whitespace changes
Inline
Side-by-side
net.c
View file @
64d1ec83
...
...
@@ -384,6 +384,7 @@ addrretry:
if
(
++
reuses
>=
REDIS_CONNECT_RETRIES
)
{
goto
error
;
}
else
{
redisContextCloseFd
(
c
);
goto
addrretry
;
}
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment