summaryrefslogtreecommitdiff
path: root/Read-Manifest-Now
diff options
context:
space:
mode:
authorHolger Hetterich <hhetter@novell.com>2010-01-22 21:17:53 +0100
committerJim McDonough <jmcd@samba.org>2010-03-16 09:52:09 -0400
commita45db5948050b7a94181e0579fb9fc9f651aed74 (patch)
treebeeaa4e08851b50a9a52bc1b0e6bcca452f01f23 /Read-Manifest-Now
parent9702dcfa918f18c038eef0251b6330d6cf9a7162 (diff)
downloadsamba-a45db5948050b7a94181e0579fb9fc9f651aed74.tar.gz
samba-a45db5948050b7a94181e0579fb9fc9f651aed74.tar.bz2
samba-a45db5948050b7a94181e0579fb9fc9f651aed74.zip
Move the creation of the header.
Since the header block of the protocol contains the number of bytes to come, we always send the header itself unmodified. If we compress or crypt the data we are about to send, the length of the data to send may change. Therefore, we no longer create the header in smb_traffic_analyzer_create_string, but shortly before we send the data. For both cases, encryption and normal, we create our own header, and send it before the actual data. In case of protocol v1, we don't need to create an extra header. Just send the data, and return from the function. Change a debug message to say that the header for crypted data has been created. Add a status flags consisting of 6 bytes to the header. Their function will be descriped in one of the next patches, which is descriping the header in a longer comment. When anonymization and/or encryption is used, set the flags accordingly.
Diffstat (limited to 'Read-Manifest-Now')
0 files changed, 0 insertions, 0 deletions