TCP and the Berkely Sockets API should have included message chunking out-of-the-gate.
The very first thing anybody using TCP has to do is invent their own chunking. Every time. It's ridiculous.
The internet is made out of fucking twine.
@jennamagius
Day One Lesson One of any infrastructure job appears to be: Here no one mentioned this but everything is on fire all the time and your job is to stave off disaster for another hour.
@jennamagius This 10000x, literally the source of so many bugs and vulnerabilities.
HTTP deadass does chunking by writing the ASCII string "\r\nContent-Length: ". That's EIGHTEEN BYTES.