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

Issue 1395423009: relnote: add test cases to catch failure on uninitialized self_address_ (Closed)

Created:
5 years, 2 months ago by ramant (doing other things)
Modified:
5 years, 2 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@Add_comment_104108540
Target Ref:
refs/pending/heads/HEAD
Project:
chromium
Visibility:
Public.

Description

relnote: add test cases to catch failure on uninitialized self_address_ on chromium side, always set the self_address_ when client creates a new session and connection. There's a corner case in quic_client, when it tries to write to the first packet, the write fails. Previously we did not set self_address_ immediately when we created a new quic_connection. This leads to a crash on chromium side when logging the uninitialized self_address. Merge internal change: 104130818 R=rch@chromium.org

Patch Set 1 #

Patch Set 2 : Minor cleanup #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M net/quic/quic_connection.cc View 1 1 chunk +3 lines, -1 line 1 comment Download
M net/quic/quic_connection_test.cc View 5 chunks +21 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 4 (0 generated)
ramant (doing other things)
5 years, 2 months ago (2015-10-15 00:40:06 UTC) #1
ramant (doing other things)
https://codereview.chromium.org/1395423009/diff/20001/net/quic/quic_connection.cc File net/quic/quic_connection.cc (right): https://codereview.chromium.org/1395423009/diff/20001/net/quic/quic_connection.cc#newcode1626 net/quic/quic_connection.cc:1626: << " from host " << (self_address().address().empty() Hi Ryan, ...
5 years, 2 months ago (2015-10-15 00:47:55 UTC) #2
Zhongyi Shi
On 2015/10/15 00:47:55, ramant wrote: > https://codereview.chromium.org/1395423009/diff/20001/net/quic/quic_connection.cc > File net/quic/quic_connection.cc (right): > > https://codereview.chromium.org/1395423009/diff/20001/net/quic/quic_connection.cc#newcode1626 > ...
5 years, 2 months ago (2015-10-15 02:12:31 UTC) #3
Ryan Hamilton
5 years, 2 months ago (2015-10-15 13:44:42 UTC) #4
lgtm. what cherie said is spot on

Powered by Google App Engine
This is Rietveld 408576698