git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30b8af7
)
service_stream: Log if the connection termination is deferred or not (bug #9820)
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 27 Jun 2013 01:27:03 +0000
(11:27 +1000)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 5 Aug 2013 18:25:08 +0000
(20:25 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
df929d6feb857668ad9da277213e9fae1480ff63
)
source4/smbd/service_stream.c
patch
|
blob
|
history
diff --git
a/source4/smbd/service_stream.c
b/source4/smbd/service_stream.c
index 22c4c040e403f167fdaf88367d84d2a211304fff..74bb477d287d0d439ec486a34128e36ea80b4352 100644
(file)
--- a/
source4/smbd/service_stream.c
+++ b/
source4/smbd/service_stream.c
@@
-60,7
+60,11
@@
void stream_terminate_connection(struct stream_connection *srv_conn, const char
if (!reason) reason = "unknown reason";
- DEBUG(3,("Terminating connection - '%s'\n", reason));
+ if (srv_conn->processing) {
+ DEBUG(3,("Terminating connection deferred - '%s'\n", reason));
+ } else {
+ DEBUG(3,("Terminating connection - '%s'\n", reason));
+ }
srv_conn->terminate = reason;