git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7da0a84
)
Revert "TODO doesn't work for cli_trans s3:libsmb: if we have to abort a read_smb...
author
Stefan Metzmacher
<metze@samba.org>
Mon, 19 Sep 2011 23:11:19 +0000
(
01:11
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 16 Jan 2018 06:43:40 +0000
(07:43 +0100)
This reverts commit
95b385832e6e75b579e5d67aff2cc83d2f983d3c
.
libcli/smb/smbXcli_base.c
patch
|
blob
|
history
diff --git
a/libcli/smb/smbXcli_base.c
b/libcli/smb/smbXcli_base.c
index 965264316593d61e219d6df3f6879a4948f07d57..e9fdc1dc32a83e2efae12b3df393b28a8079817d 100644
(file)
--- a/
libcli/smb/smbXcli_base.c
+++ b/
libcli/smb/smbXcli_base.c
@@
-976,14
+976,6
@@
void smbXcli_req_unset_pending(struct tevent_req *req)
*/
/* TODO: smbXcli_conn_cancel_read_req */
TALLOC_FREE(conn->pending);
- if (cli->conn.read_smb_req != NULL) {
- /*
- * If we abort a read request,
- * we might have already read a half pdu,
- * the only thing we can do now is to disconnect.
- */
- cli_state_disconnect(cli);
- }
conn->read_smb_req = NULL;
if (!NT_STATUS_IS_OK(cancel_status)) {