From bf45b4f4fda2c4e0d697bb30720c780325c3cd84 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 17 Apr 2010 21:20:17 -0700 Subject: First part of fix for bug #7331 - Compound async SMB 2 requests don't work right. Gets us handling SMB2 compound async requests similar to W2K8R2 (and triggers the same client bug in the Win7 redirector). Great thanks to Ira Cooper for helping with this and to Metze for the wonderful async framework. The one thing I need to fix to make us identical to W2K8R2 is that when a compound request goes async at the end W2K8R2 splits the replies up into a compound non-async reply followed by a separate async reply. Currently we're doing the whole thing in a compound reply. Jeremy. --- source3/smbd/globals.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/smbd/globals.h') diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 864143d83a..951d3522f7 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -360,6 +360,8 @@ struct smbd_smb2_request { int current_idx; bool do_signing; + bool async; + bool cancelled; struct files_struct *compat_chain_fsp; -- cgit