mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
service_stream: Log if the connection termination is deferred or not (bug #9820)
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
577cef82c7
commit
df929d6feb
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user