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

Issue 342863005: QUIC - Record reject reasons for CHLO message. (Closed)

Created:
6 years, 6 months ago by ramant (doing other things)
Modified:
6 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org, wtc, avd, Mark P
Project:
chromium
Visibility:
Public.

Description

QUIC - Record reject reasons for CHLO message. Added "Net.QuicClientHelloRejectReasons" histogram to track the reject reason in UMA. Currently it tracks only reject reason. Once we have more data, will add the multiple reject reasons to histograms.xml (instead of listing all potential combinations). We are guessing, that we would have few failures due to multiple errors. R=jar@chromium.org, rch@chromium.org, asvitkine@chromium.org, wtc@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283816

Patch Set 1 #

Patch Set 2 : minor cleanup #

Patch Set 3 : fixed lint errors #

Total comments: 4

Patch Set 4 : added COMPILE_ASSERT #

Total comments: 6

Patch Set 5 : mapping table for handshake failure to a shifted number #

Total comments: 2

Patch Set 6 : Minor cleanup - deleted local enum #

Patch Set 7 : separated histograms.xml changes into a separate CL #

Total comments: 2

Patch Set 8 : Added a comment reject reasons can not be changed and it is uploaded to UMA #

Total comments: 8

Patch Set 9 : merge with internal source changes #

Patch Set 10 : UMA histogram #

Total comments: 1

Patch Set 11 : merging with TOT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -2 lines) Patch
M net/quic/crypto/quic_crypto_client_config.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
ramant (doing other things)
6 years, 6 months ago (2014-06-19 04:01:27 UTC) #1
Ryan Hamilton
lgtm https://codereview.chromium.org/342863005/diff/40001/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc (right): https://codereview.chromium.org/342863005/diff/40001/net/quic/crypto/quic_crypto_client_config.cc#newcode615 net/quic/crypto/quic_crypto_client_config.cc:615: SOURCE_ADDRESS_TOKEN_SHIFT = 20, If you were really excited, ...
6 years, 6 months ago (2014-06-21 03:02:29 UTC) #2
ramant (doing other things)
https://codereview.chromium.org/342863005/diff/40001/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc (right): https://codereview.chromium.org/342863005/diff/40001/net/quic/crypto/quic_crypto_client_config.cc#newcode615 net/quic/crypto/quic_crypto_client_config.cc:615: SOURCE_ADDRESS_TOKEN_SHIFT = 20, On 2014/06/21 03:02:29, Ryan Hamilton wrote: ...
6 years, 6 months ago (2014-06-23 17:27:35 UTC) #3
ramant (doing other things)
The CQ bit was checked by rtenneti@chromium.org
6 years, 6 months ago (2014-06-23 17:27:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/342863005/60001
6 years, 6 months ago (2014-06-23 17:28:57 UTC) #5
ramant (doing other things)
The CQ bit was checked by rtenneti@chromium.org
6 years, 6 months ago (2014-06-23 17:57:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/342863005/80001
6 years, 6 months ago (2014-06-23 17:59:21 UTC) #7
ramant (doing other things)
isherman@: jar is on vacation. Could you take a look at histograms.xml changes. thanks raman
6 years, 6 months ago (2014-06-23 18:19:29 UTC) #8
ramant (doing other things)
6 years, 6 months ago (2014-06-23 18:30:14 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/342863005/diff/80001/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc (right): https://codereview.chromium.org/342863005/diff/80001/net/quic/crypto/quic_crypto_client_config.cc#newcode600 net/quic/crypto/quic_crypto_client_config.cc:600: packed_error |= RejectReasonToPackedError(reason); Why this complicated scheme instead of ...
6 years, 6 months ago (2014-06-23 18:33:08 UTC) #10
ramant (doing other things)
https://codereview.chromium.org/342863005/diff/80001/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc (right): https://codereview.chromium.org/342863005/diff/80001/net/quic/crypto/quic_crypto_client_config.cc#newcode600 net/quic/crypto/quic_crypto_client_config.cc:600: packed_error |= RejectReasonToPackedError(reason); On 2014/06/23 18:33:08, Alexei Svitkine wrote: ...
6 years, 6 months ago (2014-06-23 18:40:11 UTC) #11
Alexei Svitkine (slow)
https://codereview.chromium.org/342863005/diff/80001/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc (right): https://codereview.chromium.org/342863005/diff/80001/net/quic/crypto/quic_crypto_client_config.cc#newcode610 net/quic/crypto/quic_crypto_client_config.cc:610: HandshakeFailureReason reason) { It's very confusing that this enum ...
6 years, 6 months ago (2014-06-23 20:06:10 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-06-23 21:06:35 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-23 21:12:07 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/75775)
6 years, 6 months ago (2014-06-23 21:12:08 UTC) #15
ramant (doing other things)
https://codereview.chromium.org/342863005/diff/80001/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc (right): https://codereview.chromium.org/342863005/diff/80001/net/quic/crypto/quic_crypto_client_config.cc#newcode610 net/quic/crypto/quic_crypto_client_config.cc:610: HandshakeFailureReason reason) { On 2014/06/23 20:06:10, Alexei Svitkine wrote: ...
6 years, 6 months ago (2014-06-23 22:08:03 UTC) #16
ramant (doing other things)
On 2014/06/23 22:08:03, ramant wrote: > https://codereview.chromium.org/342863005/diff/80001/net/quic/crypto/quic_crypto_client_config.cc > File net/quic/crypto/quic_crypto_client_config.cc (right): > > https://codereview.chromium.org/342863005/diff/80001/net/quic/crypto/quic_crypto_client_config.cc#newcode610 > ...
6 years, 6 months ago (2014-06-23 22:09:20 UTC) #17
Ryan Hamilton
lgtm https://codereview.chromium.org/342863005/diff/100001/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc (right): https://codereview.chromium.org/342863005/diff/100001/net/quic/crypto/quic_crypto_client_config.cc#newcode636 net/quic/crypto/quic_crypto_client_config.cc:636: return HANDSHAKE_OK_SHIFTED; As discussed offline, might as well ...
6 years, 6 months ago (2014-06-23 23:09:43 UTC) #18
ramant (doing other things)
Thanks Ryan. Deleted the enum. https://codereview.chromium.org/342863005/diff/100001/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc (right): https://codereview.chromium.org/342863005/diff/100001/net/quic/crypto/quic_crypto_client_config.cc#newcode636 net/quic/crypto/quic_crypto_client_config.cc:636: return HANDSHAKE_OK_SHIFTED; On 2014/06/23 ...
6 years, 6 months ago (2014-06-23 23:14:17 UTC) #19
ramant (doing other things)
The CQ bit was checked by rtenneti@chromium.org
6 years, 6 months ago (2014-06-24 18:15:22 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/342863005/140001
6 years, 6 months ago (2014-06-24 18:16:25 UTC) #21
Mark P
https://codereview.chromium.org/342863005/diff/140001/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc (right): https://codereview.chromium.org/342863005/diff/140001/net/quic/crypto/quic_crypto_client_config.cc#newcode609 net/quic/crypto/quic_crypto_client_config.cc:609: uint32 QuicCryptoClientConfig::RejectReasonToPackedError( Please explicitly comment that because these numbers ...
6 years, 6 months ago (2014-06-24 18:25:49 UTC) #22
ramant (doing other things)
https://codereview.chromium.org/342863005/diff/140001/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc (right): https://codereview.chromium.org/342863005/diff/140001/net/quic/crypto/quic_crypto_client_config.cc#newcode609 net/quic/crypto/quic_crypto_client_config.cc:609: uint32 QuicCryptoClientConfig::RejectReasonToPackedError( On 2014/06/24 18:25:49, Mark P wrote: > ...
6 years, 6 months ago (2014-06-24 18:39:21 UTC) #23
ramant (doing other things)
The CQ bit was checked by rtenneti@chromium.org
6 years, 6 months ago (2014-06-24 18:40:19 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/342863005/70005
6 years, 6 months ago (2014-06-24 18:41:43 UTC) #25
ramant (doing other things)
The CQ bit was unchecked by rtenneti@chromium.org
6 years, 6 months ago (2014-06-24 20:10:21 UTC) #26
wtc
Review comments on patch set 8: RejectReasonToPackedError has a bug: some output values have more ...
6 years, 6 months ago (2014-06-24 21:02:16 UTC) #27
Ryan Hamilton
https://codereview.chromium.org/342863005/diff/70005/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc (right): https://codereview.chromium.org/342863005/diff/70005/net/quic/crypto/quic_crypto_client_config.cc#newcode615 net/quic/crypto/quic_crypto_client_config.cc:615: case CLIENT_NONCE_UNKNOWN_FAILURE: Let's renumber these enum values to avoid ...
6 years, 6 months ago (2014-06-24 21:09:24 UTC) #28
ramant (doing other things)
On 2014/06/24 21:09:24, Ryan Hamilton wrote: > https://codereview.chromium.org/342863005/diff/70005/net/quic/crypto/quic_crypto_client_config.cc > File net/quic/crypto/quic_crypto_client_config.cc (right): > > https://codereview.chromium.org/342863005/diff/70005/net/quic/crypto/quic_crypto_client_config.cc#newcode615 ...
6 years, 6 months ago (2014-06-24 21:21:59 UTC) #29
ramant (doing other things)
PTAL. Other CLs that this CL depends on: https://codereview.chromium.org/388333005/ https://codereview.chromium.org/354943002/ https://codereview.chromium.org/359823002/ https://codereview.chromium.org/345563009/ https://codereview.chromium.org/342863005/diff/70005/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc ...
6 years, 5 months ago (2014-07-14 22:04:14 UTC) #30
Alexei Svitkine (slow)
lgtm
6 years, 5 months ago (2014-07-15 13:47:42 UTC) #31
wtc
Patch set 10 LGTM.
6 years, 5 months ago (2014-07-15 21:23:12 UTC) #32
ramant (doing other things)
The CQ bit was checked by rtenneti@chromium.org
6 years, 5 months ago (2014-07-17 13:34:02 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/342863005/230001
6 years, 5 months ago (2014-07-17 13:34:51 UTC) #34
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 18:07:00 UTC) #35
Message was sent while issue was closed.
Change committed as 283816

Powered by Google App Engine
This is Rietveld 408576698