DescriptionHttpChunkedDecoder: Support chunks longer than 2^31-1 bytes.
We were using HexStringToInt to parse chunk size, which returns a
32-bit int. This CL switches to using HexStringToInt64, which uses
64-bit ints, so we can now support chunks up to 2^63-1 bytes.
That should be enough for anybody. [Cue dramatic music]
BUG=630680
Committed: https://crrev.com/8ea249f8b70f154f9995ed538fc853fe9cf46503
Cr-Commit-Position: refs/heads/master@{#407549}
Patch Set 1 #Patch Set 2 : Speed up, beef up tests #
Total comments: 4
Patch Set 3 : Use comparison operators instead of coercing ints to bools #Patch Set 4 : Missed two #
Messages
Total messages: 22 (14 generated)
|