mirror of
https://github.com/samba-team/samba.git
synced 2025-01-19 10:03:58 +03:00
dd037b0be4
We need to make sure that we remove any pending writev_send or read_smb_send request before closing the socket fd. As a side effect we always close the socket fd if we don't return success for any any reason. 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> Reviewed-by: Jeremy Allison <jra@samba.org>
Design notes for client library restructure: 1 - no references to cli_state should exist in libcli/raw. 2 - all interfaces to functions in this directory should use cli_session or cli_tree as the primary context structure