libcli/smb: add smb1 requests to the pending array before writev_send()
authorStefan Metzmacher <metze@samba.org>
Fri, 29 May 2015 13:48:26 +0000 (15:48 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Jun 2015 15:08:18 +0000 (17:08 +0200)
commitf3982eb2c7f1d17a013dacfd430a3752e6ef4ae4
treecb10ed5f46ad00de841678ea0ff407770e125cfd
parent59338434274799db1ac60b082a6453bd924c5f4c
libcli/smb: add smb1 requests to the pending array before writev_send()

This way we have a change to destroy the pending writev_send request before
closing the socket in smbXcli_conn_disconnect().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11316

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
libcli/smb/smbXcli_base.c