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
redis
Commits
323e5e20
Commit
323e5e20
authored
Jul 08, 2013
by
antirez
Browse files
Remove cluster stuff from closeListeningSockets() for 2.8.
parent
fc022ca3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
323e5e20
...
@@ -1895,8 +1895,6 @@ void closeListeningSockets(int unlink_unix_socket) {
...
@@ -1895,8 +1895,6 @@ void closeListeningSockets(int unlink_unix_socket) {
for (j = 0; j < server.ipfd_count; j++) close(server.ipfd[j]);
for (j = 0; j < server.ipfd_count; j++) close(server.ipfd[j]);
if (server.sofd != -1) close(server.sofd);
if (server.sofd != -1) close(server.sofd);
if
(
server
.
cluster_enabled
)
for
(
j
=
0
;
j
<
server
.
cfd_count
;
j
++
)
close
(
server
.
cfd
[
j
]);
if (unlink_unix_socket && server.unixsocket) {
if (unlink_unix_socket && server.unixsocket) {
redisLog(REDIS_NOTICE,"Removing the unix socket file.");
redisLog(REDIS_NOTICE,"Removing the unix socket file.");
unlink(server.unixsocket); /* don't care if this fails */
unlink(server.unixsocket); /* don't care if this fails */
...
...
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