
I disagree in general. My parser is primarily an HTTP request _header_ parser, and the headers are normally relatively small. For most requests (i.e. GETs) the request body doesn't add much, and in those cases it is likely that the whole request can be got in a single read. In fact browser implementations go to some lengths to make their requests fit in single network packets (about 1500 bytes) for performance reasons, and single network packets will generally be accessible as single reads. You might see that in the lab against localhost, but as soon as you have cookies and authentication tokens in play, let alone session state, referer etc, I think the MTU gets used up rather quickly. If you dump
Phil Endecott wrote: the headers received there are often plenty. Its a very dangerous assumption.