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

Issue 345025: Set STATE_CLOSE when error occured. (Closed)

Created:
11 years, 1 month ago by ukai
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Set STATE_CLOSE when error occured. Finish() when entered bad state. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30569

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -5 lines) Patch
M net/socket_stream/socket_stream.cc View 9 chunks +22 lines, -5 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
ukai
Trying to fix layout test failure (timeout)
11 years, 1 month ago (2009-10-30 06:45:20 UTC) #1
Yuta Kitamura
LGTM
11 years, 1 month ago (2009-10-30 10:15:46 UTC) #2
ukai
On 2009/10/30 10:15:46, Yuta Kitamura wrote: > LGTM Thanks!
11 years, 1 month ago (2009-10-30 10:16:08 UTC) #3
tyoshino (SeeGerritForStatus)
11 years, 1 month ago (2009-11-02 02:18:27 UTC) #4
LGTM

Sorry for delay. Please try to address my comments in the next CL. Thanks,

http://codereview.chromium.org/345025/diff/1/2
File net/socket_stream/socket_stream.cc (right):

http://codereview.chromium.org/345025/diff/1/2#newcode639
Line 639: DidEstablishConnection();
result = DidEstablishConnection ?

http://codereview.chromium.org/345025/diff/1/2#newcode707
Line 707: }
Here, we should do the same as Read?
if (result != 0 && result != ERR_IO_PENDING) {
  next_state_ = STATE_CLOSE;
  return result;
}

Powered by Google App Engine
This is Rietveld 408576698