libsmb: Handle long-running smb2cli_notify
commitdaf2c88a3fcc4b619da131c95595584bca80c345
authorVolker Lendecke <vl@samba.org>
Mon, 30 Oct 2017 13:34:12 +0000 (30 14:34 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 19 Apr 2018 09:40:11 +0000 (19 11:40 +0200)
tree142f139acdea434de8eaed4483b2e8b176921624
parenta25ec76b6118c722378548655c1862db9e1bca42
libsmb: Handle long-running smb2cli_notify

This likely runs into a timeout. Properly cancel the smb2 request,
allowing the higher-level caller to re-issue this request on an existing
handle.

I did not see a proper way to achieve this with tevent_req_set_endtime or
something like that.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13382
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 91c0f497816bb88d8935a8a79c146c08379ecf53)
libcli/smb/smb2cli_notify.c