... and that's chunked encoding.

Next:

  • Properly checking the headers to see if there's transfer encoding applied
  • Handling responses with a Content-Length
  • Some kind of sensible error handling plan
  • Starting to move into language for HTML parsing
  • Going back over everything and adding bounds checks and all that noise

I'm feeling all positive about this, I seem to be actually writing code in C!