zlacker

[parent] [thread] 0 comments
1. Joker_+(OP)[view] [source] 2026-02-04 01:05:12
But everything after headers can (almost) be a blob. Just copy buffers while taking care to track CRLF and look if what follows is a space. In fact, you have to do it anyhow, because line-folding is allowed in headers as well! And this "chunking long lines" technique has been around since the 70s, when people started writing parsers on top of hand-crafted buffered I/O.
[go to top]