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
5f98e1d3
Commit
5f98e1d3
authored
Jul 09, 2016
by
not-a-robot
Committed by
GitHub
Jul 09, 2016
Browse files
Auto merge of #445 - xxvv:master, r=badboy
fix: should close socket fd when retry connect (tcp)
parents
b7205d35
64d1ec83
Changes
1
Hide whitespace changes
Inline
Side-by-side
net.c
View file @
5f98e1d3
...
...
@@ -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