Restructure the module so it connects to the remote data sink
commitba0cb8c74dd2fdeab014a8b90869725b85b6d557
authorJeremy Allison <jra@samba.org>
Tue, 30 Sep 2008 22:11:26 +0000 (30 15:11 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 1 Oct 2008 06:29:17 +0000 (1 08:29 +0200)
treef5fb94717a207e1188de253228bb8768ee63c5a3
parent394325b79c9f381e8b4bdaf1b8aec698e2e83cf7
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 e3e89077a5559eda39ea27f0ce6f9f0ebeba8f1e)
source/modules/vfs_smb_traffic_analyzer.c