Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Issue 2857733002: iOS Cronet: Put cap on the buffer size passed to onReadCompleted delegate (Closed)

Created:
3 years, 7 months ago by kapishnikov
Modified:
3 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, ios-reviews_chromium.org, net-reviews_chromium.org, droger
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

iOS Cronet: Put cap on the buffer size passed to onReadCompleted delegate The change also allows the client to start handling the received data sooner. BUG=717551 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Review-Url: https://codereview.chromium.org/2857733002 Cr-Commit-Position: refs/heads/master@{#471319} Committed: https://chromium.googlesource.com/chromium/src/+/922dd693b59ee99082ab9bab9daab3822d03047a

Patch Set 1 #

Patch Set 2 : Improved Cronet unit test bug fix #

Total comments: 12

Patch Set 3 : Addressed comments #

Total comments: 4

Patch Set 4 : DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -23 lines) Patch
M components/cronet/ios/test/cronet_http_test.mm View 1 4 chunks +8 lines, -0 lines 0 comments Download
M ios/net/crn_http_protocol_handler.mm View 1 2 3 3 chunks +32 lines, -23 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
kapishnikov
3 years, 7 months ago (2017-05-02 21:20:18 UTC) #4
lilyhoughton
https://codereview.chromium.org/2857733002/diff/20001/components/cronet/ios/test/cronet_http_test.mm File components/cronet/ios/test/cronet_http_test.mm (right): https://codereview.chromium.org/2857733002/diff/20001/components/cronet/ios/test/cronet_http_test.mm#newcode213 components/cronet/ios/test/cronet_http_test.mm:213: long size = 10 * 1024 * 1024; Where ...
3 years, 7 months ago (2017-05-05 16:33:05 UTC) #5
mef
https://codereview.chromium.org/2857733002/diff/20001/ios/net/crn_http_protocol_handler.mm File ios/net/crn_http_protocol_handler.mm (right): https://codereview.chromium.org/2857733002/diff/20001/ios/net/crn_http_protocol_handler.mm#newcode522 ios/net/crn_http_protocol_handler.mm:522: DCHECK_EQ(net_request_, request); On 2017/05/05 16:33:05, lilyhoughton wrote: > Why ...
3 years, 7 months ago (2017-05-05 17:08:19 UTC) #6
kapishnikov
https://codereview.chromium.org/2857733002/diff/20001/components/cronet/ios/test/cronet_http_test.mm File components/cronet/ios/test/cronet_http_test.mm (right): https://codereview.chromium.org/2857733002/diff/20001/components/cronet/ios/test/cronet_http_test.mm#newcode213 components/cronet/ios/test/cronet_http_test.mm:213: long size = 10 * 1024 * 1024; On ...
3 years, 7 months ago (2017-05-05 19:13:42 UTC) #9
mef
lgtm
3 years, 7 months ago (2017-05-09 15:22:00 UTC) #12
kapishnikov
Adding David to take a look as the iOS/net owner.
3 years, 7 months ago (2017-05-10 17:05:27 UTC) #14
sdefresne
-droger (→ cc), +marq as OWNERS of ios/net as droger is OOO till 29th of ...
3 years, 7 months ago (2017-05-11 10:29:52 UTC) #16
marq (ping after 24h)
https://codereview.chromium.org/2857733002/diff/40001/ios/net/crn_http_protocol_handler.mm File ios/net/crn_http_protocol_handler.mm (right): https://codereview.chromium.org/2857733002/diff/40001/ios/net/crn_http_protocol_handler.mm#newcode54 ios/net/crn_http_protocol_handler.mm:54: // be less or equal to |kClientMaxBufferSize|. Why not ...
3 years, 7 months ago (2017-05-11 11:20:35 UTC) #17
kapishnikov
https://codereview.chromium.org/2857733002/diff/40001/ios/net/crn_http_protocol_handler.mm File ios/net/crn_http_protocol_handler.mm (right): https://codereview.chromium.org/2857733002/diff/40001/ios/net/crn_http_protocol_handler.mm#newcode54 ios/net/crn_http_protocol_handler.mm:54: // be less or equal to |kClientMaxBufferSize|. On 2017/05/11 ...
3 years, 7 months ago (2017-05-11 15:50:38 UTC) #18
marq (ping after 24h)
lgtm
3 years, 7 months ago (2017-05-12 13:19:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2857733002/60001
3 years, 7 months ago (2017-05-12 15:27:12 UTC) #22
commit-bot: I haz the power
3 years, 7 months ago (2017-05-12 15:51:59 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/922dd693b59ee99082ab9bab9daa...

Powered by Google App Engine
This is Rietveld 408576698