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

Issue 173259: Implement a read-size throttle within the TCP socket. (Closed)

Created:
11 years, 4 months ago by Mike Belshe
Modified:
9 years, 5 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review)
Visibility:
Public.

Description

Implement a read-size throttle within the TCP socket. Add a field-group trial for testing it. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=24211

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -1 line) Patch
M chrome/renderer/render_view.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M net/socket/tcp_client_socket_win.cc View 1 2 3 4 4 chunks +42 lines, -1 line 1 comment Download

Messages

Total messages: 8 (0 generated)
Mike Belshe
11 years, 4 months ago (2009-08-23 21:18:35 UTC) #1
willchan no longer on Chromium
On 2009/08/23 21:18:35, Mike Belshe wrote: > This code is fine, although I think we ...
11 years, 4 months ago (2009-08-24 16:37:19 UTC) #2
wtc
Mike, Thanks for your work on this issue! I have two general comments below. I ...
11 years, 4 months ago (2009-08-24 20:03:48 UTC) #3
Mike Belshe
OK - fieldtrial code added. Please take another look. On 2009/08/24 16:37:19, willchan wrote: > ...
11 years, 4 months ago (2009-08-24 22:06:52 UTC) #4
Mike Belshe
Thanks, wtc. I put in a field-trial at Will's request, so that should tell us ...
11 years, 4 months ago (2009-08-24 22:07:42 UTC) #5
willchan no longer on Chromium
Other than the annoying global object issue, LGTM. http://codereview.chromium.org/173259/diff/1002/1003 File net/socket/tcp_client_socket_win.cc (right): http://codereview.chromium.org/173259/diff/1002/1003#newcode208 Line 208: ...
11 years, 4 months ago (2009-08-24 22:24:33 UTC) #6
willchan no longer on Chromium
lgtm, thanks!
11 years, 4 months ago (2009-08-25 00:49:38 UTC) #7
wtc
11 years, 4 months ago (2009-08-25 23:58:16 UTC) #8
LGTM.

http://codereview.chromium.org/173259/diff/1010/1011
File net/socket/tcp_client_socket_win.cc (right):

http://codereview.chromium.org/173259/diff/1010/1011#newcode124
Line 124: int ThrottleReadSize(int size) {
This method and the related data members should be in
TCPClientSocketWin.  The Core class should only contain
members that need to be preserved when we cancel a
TCPClientSocket that has an async IO operation in progress.

Powered by Google App Engine
This is Rietveld 408576698