Restructure the module so it connects to the remote data sink
authorJeremy Allison <jra@samba.org>
Tue, 30 Sep 2008 22:09:49 +0000 (15:09 -0700)
committerMichael Adam <obnox@samba.org>
Mon, 27 Oct 2008 09:06:32 +0000 (10:06 +0100)
commitc41b46f52e4032a69321b7c0b3b5cc2cd820cd13
tree307ea0e6670bec46dd45a72eced066b703ec1e26
parent6c4c40855913af55e7f2b2922b018204b68e7f8f
Restructure the module so it connects to the remote data sink
on connect, and closes the socket on client disconnect. This should
make it much more efficient. Store the remote fd in a private data
pointer off the handle. Finally we need to remove the fstrings and
convert to allocated buffer storage.
Jeremy.
(cherry picked from commit 2f7884babcefcb04d1f9a877dde41e11b0f7b825)
(cherry picked from commit 1bf75ac9781c60be5a7b5899bc42aa1d198091d9)
source/modules/vfs_smb_traffic_analyzer.c