Chromium Code Reviews
DescriptionAdd a helper method to truncate SourceStream's length
To support half open requests, we need to truncate all SourceStreams when they came.
This CL adds a helper method to truncate the SourceStream when they are active.
And it fixes an issue that the usage of 0 can be very unclear.
Also this CL makes the initial request half open so we can get the correct content-length.
BUG=644352
Review-Url: https://codereview.chromium.org/2770303002
Cr-Commit-Position: refs/heads/master@{#459603}
Committed: https://chromium.googlesource.com/chromium/src/+/aa5d2f477221a57cc51cdef53279c3b1453f63d3
Patch Set 1 #
Total comments: 9
Patch Set 2 : addressing comments #Patch Set 3 : nit #
Messages
Total messages: 16 (8 generated)
|
|||||||||||||||||||||||||||||||||||||