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

Issue 597633002: Handle URLRequest::Read() returning false without an error or ERR_IO_PENDING. (Closed)

Created:
6 years, 3 months ago by Randy Smith (Not in Mondays)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Handle URLRequest::Read() returning false without an error or ERR_IO_PENDING. This is a possible cause for a failure being seen in the field in the associated bug; this change is a quick fix for that failure + UMA to determine if the failure is real. BUG=416639 R=mef@chromium.org R=asvitkine@chromium.org Committed: https://crrev.com/790eaaa7e24a27ad2d0f8fb8be458c6a2be8e84c Cr-Commit-Position: refs/heads/master@{#296241}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M net/base/sdch_dictionary_fetcher.cc View 1 chunk +8 lines, -0 lines 1 comment Download
M net/base/sdch_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Randy Smith (Not in Mondays)
Misha: Could you review the primary change? Alexei: Could you review the histograms.xml change? This ...
6 years, 3 months ago (2014-09-23 16:31:37 UTC) #1
Alexei Svitkine (slow)
lgtm
6 years, 3 months ago (2014-09-23 16:39:21 UTC) #2
mef
lgtm
6 years, 3 months ago (2014-09-23 17:23:43 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/597633002/1
6 years, 3 months ago (2014-09-23 17:59:30 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as ac27abe0c8eb5c0232e694332266d1d774fab024
6 years, 3 months ago (2014-09-23 21:08:22 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/790eaaa7e24a27ad2d0f8fb8be458c6a2be8e84c Cr-Commit-Position: refs/heads/master@{#296241}
6 years, 3 months ago (2014-09-23 21:09:12 UTC) #7
Ryan Hamilton
Drive-by nit... https://codereview.chromium.org/597633002/diff/1/net/base/sdch_dictionary_fetcher.cc File net/base/sdch_dictionary_fetcher.cc (right): https://codereview.chromium.org/597633002/diff/1/net/base/sdch_dictionary_fetcher.cc#newcode206 net/base/sdch_dictionary_fetcher.cc:206: DCHECK_NE(current_request_->status().error(), OK); Technically, the style guide prohibits ...
6 years, 3 months ago (2014-09-23 21:38:38 UTC) #9
Randy Smith (Not in Mondays)
6 years, 3 months ago (2014-09-24 16:24:09 UTC) #10
Message was sent while issue was closed.
On 2014/09/23 21:38:38, Ryan Hamilton wrote:
> Drive-by nit...
> 
>
https://codereview.chromium.org/597633002/diff/1/net/base/sdch_dictionary_fet...
> File net/base/sdch_dictionary_fetcher.cc (right):
> 
>
https://codereview.chromium.org/597633002/diff/1/net/base/sdch_dictionary_fet...
> net/base/sdch_dictionary_fetcher.cc:206:
> DCHECK_NE(current_request_->status().error(), OK);
> Technically, the style guide prohibits "handling" failed DCHECKs.
> 
>
http://www.chromium.org/developers/coding-style#TOC-CHECK-DCHECK-and-NOTREACHED-
> 
> That would suggest using something like DLOG(DFATAL) instead.

Fair enough; see https://codereview.chromium.org/599143002/

I was going to say "But if this isn't what's happening I want to revert the
change", but after some consideration, I don't; if it happens in the future, I
don't want browsers hanging.

Powered by Google App Engine
This is Rietveld 408576698