s4:librpc/rpc: remove dcerpc_shutdown_pipe() layer
authorStefan Metzmacher <metze@samba.org>
Sun, 16 Mar 2014 20:54:55 +0000 (21:54 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 10:43:20 +0000 (12:43 +0200)
commit12b89bf5718c56c86bd5f1201f513f9538b329ed
tree019481308bbd5b29c268b198f3e26e2c9590bc91
parentb78c78b5c869ac555dc02d49e7d9c1a12ed0a636
s4:librpc/rpc: remove dcerpc_shutdown_pipe() layer

This is only called from dcerpc_connection_dead()
mostly via dcerpc_connection_destructor().

Calling tstream_disconnect_send(), triggers a smb*cli_close_send(),
but we implicitly call talloc_free() on the returned 'req',
before it's send into the low-level tcp socket, which means
the SMB signing gets out of sync. For now we just rely on
the tstream destructor to close the smb open.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/librpc/rpc/dcerpc.c