Chromium Code Reviews
DescriptionFlush chunks on each upload read.
The way CronetJavaEngine (which uses JavaUrlRequest) is implemented in regards to chunked uploads:
1) Is inconsistent with it's native counterpart which almost immediately writes the obtained data to the wire.
2) Makes it impossible to slowly stream data (like during a voice search) in a controlled manner. No data is sent other than at JavaUrlRequest.DEFAULT_CHUNK_LENGTH (8192) intervals.
BUG=b/31592204
Committed: https://crrev.com/610153f4f770238e8cb7e17c4e3ec1d6275131a1
Cr-Commit-Position: refs/heads/master@{#419869}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|
|||||||||||||||||||