Re:Last Call: HTTP2
by captaincrowbar on Friday January 02, 2015 @10:04AM
(#8826937)
Out there in the real world, people are going to keep putting unrestricted binary data inside of strings regardless of whether or not anyone has decided to allow it.
Re:Last Call: HTTP2
by Dylan16807 on Friday January 02, 2015 @03:17PM
(#8828301)
If you delimit on \0, period, no exceptions or escaping, then I assure you no one will put \0 inside their strings. Same for other trivial schemes.
Instead I'll say that length prefixing is good and useful but doesn't necessarily provide a correctness advantage over simple delimiters. It doesn't really shine until you've already decided to allow unrestricted binary data inside of strings.