28 Jun
2009
28 Jun
'09
7:23 p.m.
Yes it says 264 bytes read exactly 264 bytes or die trying. /b On Jun 28, 2009, at 1:57 PM, João Mesquita wrote:
If I am not mistaken, you are always safe reading the amount data expressed on Content-Length since it is calculated based on the total message length before it is sent out of FS.
From a protocol point of view, it would indeed be much better to rely on something such as Content-Length then \n\n termination string. As I get to know more and more the core developers, I doubt they would rely on the latter.
Hope it helps...
jmesquita