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

Issue 1055813006: CHECK() if Windows non-blocking connect returns 0. (Closed)

Created:
5 years, 8 months ago by Adam Rice
Modified:
5 years, 8 months ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CHECK() if Windows non-blocking connect returns 0. Non-blocking connect() on Windows is documented as always returning WSAEWOULDBLOCK or another error. There has been code in place to handle a 0 return value, but we have no way to test whether it is correct or not. Replace the code to handle a 0 return with a CHECK() call, to find out whether a 0 result really can happen or not. BUG=436634 TEST=net_unittests Committed: https://crrev.com/2d53a9381e88eab543cc4c9fd122b0b1ed4f41d7 Cr-Commit-Position: refs/heads/master@{#326243}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -24 lines) Patch
M net/socket/tcp_socket_win.cc View 1 chunk +19 lines, -24 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Adam Rice
+mmenke for OWNERS review. Please punt to someone else if appropriate.
5 years, 8 months ago (2015-04-21 10:01:36 UTC) #2
mmenke
LGTM
5 years, 8 months ago (2015-04-21 13:10:45 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1055813006/1
5 years, 8 months ago (2015-04-22 06:50:01 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 8 months ago (2015-04-22 08:03:26 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/2d53a9381e88eab543cc4c9fd122b0b1ed4f41d7 Cr-Commit-Position: refs/heads/master@{#326243}
5 years, 8 months ago (2015-04-22 08:04:20 UTC) #7
Adam Rice
5 years, 8 months ago (2015-04-23 14:05:33 UTC) #8
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1076093006/ by ricea@chromium.org.

The reason for reverting is: It's crashing in Canary builds. We have probably
gained enough data now, so I'm reverting..

Powered by Google App Engine
This is Rietveld 408576698