ChttpFile receives and extra \r in its carriage return
Posted on 2004-04-14
From the server I send 1024 bytes. On the client I receive 1037 bytes. When comparing the two files they are identical meaning I received the 1024 bytes. However, each \r\n in the file is not \r\r\n. Or in binary 0D 0D 0A.
So, my question is what is adding the extra 0D to the carriage returns? On the server I its an executable that just passes it down stdout. I've verified that the data it sends is in fact 1024 bytes.
On the Client I use CHttpFile::Read to get the data and the data has the extra character.