libsmb: Handle long-running smb2cli_notify
authorVolker Lendecke <vl@samba.org>
Mon, 30 Oct 2017 13:34:12 +0000 (14:34 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 4 Apr 2018 23:10:10 +0000 (01:10 +0200)
commit91c0f497816bb88d8935a8a79c146c08379ecf53
tree5970d87beaff983c2c10e5938262c51fe3fa8037
parentcc746385bf1b6b8a45d66af092f90a6228a93d78
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.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/smb/smb2cli_notify.c