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

Issue 980433003: [GCM] Fix crash during connection races (Closed)

Created:
5 years, 9 months ago by Nicolas Zea
Modified:
5 years, 9 months ago
Reviewers:
fgorski
CC:
chromium-reviews, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[GCM] Fix crash during connection races If a connection attempt is triggered while a connection is open, but not active (for example due to a socket error), make sure the old connection is closed before reattempting to connect. BUG=462319 Committed: https://crrev.com/3ca5141f50f9bb9367f1969e904900fecd9aa49e Cr-Commit-Position: refs/heads/master@{#319201}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -7 lines) Patch
M google_apis/gcm/engine/connection_factory_impl.cc View 4 chunks +12 lines, -5 lines 2 comments Download
M google_apis/gcm/engine/connection_factory_impl_unittest.cc View 4 chunks +30 lines, -0 lines 0 comments Download
M google_apis/gcm/engine/fake_connection_handler.h View 2 chunks +10 lines, -0 lines 0 comments Download
M google_apis/gcm/engine/fake_connection_handler.cc View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Nicolas Zea
PTAL
5 years, 9 months ago (2015-03-04 00:10:11 UTC) #2
fgorski
lgtm https://codereview.chromium.org/980433003/diff/1/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/980433003/diff/1/google_apis/gcm/engine/connection_factory_impl.cc#newcode221 google_apis/gcm/engine/connection_factory_impl.cc:221: // effect if we're already in the process ...
5 years, 9 months ago (2015-03-04 17:43:04 UTC) #3
Nicolas Zea
https://codereview.chromium.org/980433003/diff/1/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/980433003/diff/1/google_apis/gcm/engine/connection_factory_impl.cc#newcode221 google_apis/gcm/engine/connection_factory_impl.cc:221: // effect if we're already in the process of ...
5 years, 9 months ago (2015-03-04 17:56:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/980433003/1
5 years, 9 months ago (2015-03-04 17:57:01 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) Timed out ...
5 years, 9 months ago (2015-03-04 19:57:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/980433003/1
5 years, 9 months ago (2015-03-05 00:25:33 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 9 months ago (2015-03-05 02:58:51 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 02:59:54 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/3ca5141f50f9bb9367f1969e904900fecd9aa49e
Cr-Commit-Position: refs/heads/master@{#319201}

Powered by Google App Engine
This is Rietveld 408576698