Allow smbd_smb2_request_error_ex() to cope with unread bytes on error.
commit63739440f128229a6a99d0653562d3735ae909fb
authorJeremy Allison <jra@samba.org>
Tue, 19 Mar 2013 19:36:52 +0000 (19 12:36 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 19 Apr 2013 21:10:55 +0000 (19 14:10 -0700)
treef9249910a103381968b4d1ba61f138e5baa51e20
parenta36d7633bd3608b71f610fc9df2ad9c66bfdd9c6
Allow smbd_smb2_request_error_ex() to cope with unread bytes on error.

Drain the socket if a RECVFILE write failed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan (metze) Metzmacher <metze@samba.org>
source3/smbd/smb2_server.c