s4:smb_server: initialy read the first 4 bytes only
authorSam Liddicott <sam@liddicott.com>
Tue, 19 May 2009 14:42:39 +0000 (15:42 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 20 May 2009 08:16:43 +0000 (10:16 +0200)
commit8cd9c72d75aeb92d64e2781081fed8847727d289
tree4337f4072058d888b4056c061afe688556b06134
parentac7f4fa380722e9e8c71f24c32475e3c0d3e1e90
s4:smb_server: initialy read the first 4 bytes only

Stop packet_recv getting greedy and reading the whole socket
and then dispatching te extra packets in a timer loop

Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/smb_server/smb_server.c