Restructure the module so it connects to the remote data sink
commite3e89077a5559eda39ea27f0ce6f9f0ebeba8f1e
authorJeremy Allison <jra@samba.org>
Tue, 30 Sep 2008 22:11:26 +0000 (30 15:11 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 30 Sep 2008 22:11:26 +0000 (30 15:11 -0700)
treec258d62a9d44f4a962ef5bb9f7587e823b08630a
parent48c0dff0c5e36313619fb39d2bfb57d49ed2141e
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.
source/modules/vfs_smb_traffic_analyzer.c