Restructure the module so it connects to the remote data sink
authorJeremy Allison <jra@samba.org>
Tue, 30 Sep 2008 22:13:19 +0000 (15:13 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 30 Sep 2008 22:13:19 +0000 (15:13 -0700)
commit321191d5e2ec1eaf22728dcee944e0a250a7725d
tree4d4b2cefcdc85c584bff834ce12c161c39f66776
parent97d57d03640664416500efb1f1cf8e5a4a9522d8
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.
source3/modules/vfs_smb_traffic_analyzer.c