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

Issue 463093003: Add max_bandwidth and max_bandwidth_timestamp to QUIC source address (Closed)

Created:
6 years, 4 months ago by ramant (doing other things)
Modified:
6 years, 4 months ago
Reviewers:
wtc, Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, rjshade
Base URL:
https://chromium.googlesource.com/chromium/src.git@Dont_print_SCUP_73054570
Project:
chromium
Visibility:
Public.

Description

Add max_bandwidth and max_bandwidth_timestamp to QUIC source address token. Merge internal change: 73055131 R=rch@chromium.org, wtc@chromium.org

Patch Set 1 #

Total comments: 5

Patch Set 2 : fixed wtc's comments #

Total comments: 2

Patch Set 3 : fixed wtc's comments - use int64 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M net/quic/crypto/source_address_token.h View 1 2 2 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ramant (doing other things)
6 years, 4 months ago (2014-08-12 22:06:11 UTC) #1
Ryan Hamilton
lgtm
6 years, 4 months ago (2014-08-13 16:28:00 UTC) #2
wtc
Patch set 1 LGTM. I believe the new code has the year 2038 bug. Please ...
6 years, 4 months ago (2014-08-14 01:49:10 UTC) #3
ramant (doing other things)
https://codereview.chromium.org/463093003/diff/1/net/quic/crypto/source_address_token.h File net/quic/crypto/source_address_token.h (right): https://codereview.chromium.org/463093003/diff/1/net/quic/crypto/source_address_token.h#newcode86 net/quic/crypto/source_address_token.h:86: // The maximum bandwidth seen to the client, not ...
6 years, 4 months ago (2014-08-14 19:48:04 UTC) #4
ramant (doing other things)
https://codereview.chromium.org/463093003/diff/1/net/quic/crypto/source_address_token.h File net/quic/crypto/source_address_token.h (right): https://codereview.chromium.org/463093003/diff/1/net/quic/crypto/source_address_token.h#newcode90 net/quic/crypto/source_address_token.h:90: int32 max_bandwidth_timestamp_seconds_; On 2014/08/14 01:49:10, wtc wrote: > > ...
6 years, 4 months ago (2014-08-14 19:52:09 UTC) #5
wtc
Review comments on patch set 2: https://codereview.chromium.org/463093003/diff/20001/net/quic/crypto/source_address_token.h File net/quic/crypto/source_address_token.h (right): https://codereview.chromium.org/463093003/diff/20001/net/quic/crypto/source_address_token.h#newcode90 net/quic/crypto/source_address_token.h:90: int64 max_bandwidth_timestamp_seconds_; The ...
6 years, 4 months ago (2014-08-14 22:36:26 UTC) #6
ramant (doing other things)
6 years, 4 months ago (2014-08-14 23:40:45 UTC) #7
Thanks very much Want-Teh. Updated the "Landing Recent QUIC changes" to have
this change.

https://codereview.chromium.org/463093003/diff/20001/net/quic/crypto/source_a...
File net/quic/crypto/source_address_token.h (right):

https://codereview.chromium.org/463093003/diff/20001/net/quic/crypto/source_a...
net/quic/crypto/source_address_token.h:90: int64
max_bandwidth_timestamp_seconds_;
On 2014/08/14 22:36:26, wtc wrote:
> 
> The getter and setter methods also need to use the int64 type. Also, it may be
> better to use one of the types defined in quic_time.h (or quic_clock?)
instead.

Changed get/set methods to use int64. 

Would like to use protobuf (ala internal source tree) and delete this file. Will
bring it up if we could use QuicWallTime in the internal source tree.

Powered by Google App Engine
This is Rietveld 408576698