Restructure the module so it connects to the remote data sink
commit2f7884babcefcb04d1f9a877dde41e11b0f7b825
authorJeremy Allison <jra@samba.org>
Tue, 30 Sep 2008 22:09:49 +0000 (30 15:09 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 30 Sep 2008 22:09:49 +0000 (30 15:09 -0700)
tree3c8a0f3e59c09a8bf7a2becd0ab748ef171367c4
parent10ae99d86c0c90bee9a0538854f6f96fc7cbbc23
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