git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd7f62a
)
s3:smbd: don't exit the parent when we have no connections
author
Stefan Metzmacher
<metze@samba.org>
Mon, 16 Mar 2009 13:48:40 +0000
(14:48 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 18 Mar 2009 06:00:38 +0000
(07:00 +0100)
This code path can't really happen anymore, because
launchd support was removed with commit
e5a951325a6cac8567af3a66de6d2df577508ae4
.
But it's confusing to have that code there...
metze
source3/smbd/server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/server.c
b/source3/smbd/server.c
index 538e04938e917c6e7434783ba35a67acf643917f..2400b5c104e4a3faf6fcdcb715770f407b35702c 100644
(file)
--- a/
source3/smbd/server.c
+++ b/
source3/smbd/server.c
@@
-693,13
+693,6
@@
static void smbd_parent_loop(struct smbd_parent_context *parent)
if (num < 0)
exit_server_cleanly("socket error");
- /* If the idle timeout fired and we don't have any connected
- * users, exit gracefully. We should be running under a process
- * controller that will restart us if necessry.
- */
- if (num == 0 && count_all_current_connections() == 0) {
- exit_server_cleanly("idle timeout");
- }
TALLOC_FREE(frame);
} /* end while 1 */