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

Issue 2693043008: Resume the main job immediately when QUIC job fails, not wait for the head start timer to exprie (Closed)

Created:
3 years, 10 months ago by Zhongyi Shi
Modified:
3 years, 10 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Resume the main job immediately when QUIC job fails, not wait for the head start timer to exprie BUG=691688 Review-Url: https://codereview.chromium.org/2693043008 Cr-Commit-Position: refs/heads/master@{#450705} Committed: https://chromium.googlesource.com/chromium/src/+/ff2bfbfd76f3c43e5618addd34c82fed42d2a6f5

Patch Set 1 #

Total comments: 4

Patch Set 2 : Always post task to resume the main job if it's in wait state, only execute resume main job once #

Total comments: 13

Patch Set 3 : address rch's comments #

Patch Set 4 : sync with master #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -6 lines) Patch
M net/http/http_stream_factory_impl_job_controller.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M net/http/http_stream_factory_impl_job_controller.cc View 1 2 3 3 chunks +16 lines, -2 lines 1 comment Download
M net/http/http_stream_factory_impl_job_controller_unittest.cc View 1 2 1 chunk +72 lines, -3 lines 0 comments Download
M net/http/http_stream_factory_test_util.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 19 (9 generated)
Zhongyi Shi
Ryan, PTAL! Let me know whether adding the boolean to indicate whether the main_job_->Resume() is ...
3 years, 10 months ago (2017-02-14 23:16:46 UTC) #5
Ryan Hamilton
In addition to the offline conversation, one suggestion. https://codereview.chromium.org/2693043008/diff/20001/net/http/http_stream_factory_impl_job_controller.cc File net/http/http_stream_factory_impl_job_controller.cc (right): https://codereview.chromium.org/2693043008/diff/20001/net/http/http_stream_factory_impl_job_controller.cc#newcode581 net/http/http_stream_factory_impl_job_controller.cc:581: DCHECK(delay ...
3 years, 10 months ago (2017-02-15 00:07:02 UTC) #6
Zhongyi Shi
https://codereview.chromium.org/2693043008/diff/20001/net/http/http_stream_factory_impl_job_controller.cc File net/http/http_stream_factory_impl_job_controller.cc (right): https://codereview.chromium.org/2693043008/diff/20001/net/http/http_stream_factory_impl_job_controller.cc#newcode581 net/http/http_stream_factory_impl_job_controller.cc:581: DCHECK(delay == base::TimeDelta()); On 2017/02/15 00:07:02, Ryan Hamilton wrote: ...
3 years, 10 months ago (2017-02-15 00:26:58 UTC) #7
Ryan Hamilton
Thanks! https://codereview.chromium.org/2693043008/diff/40001/net/http/http_stream_factory_impl_job_controller.cc File net/http/http_stream_factory_impl_job_controller.cc (right): https://codereview.chromium.org/2693043008/diff/40001/net/http/http_stream_factory_impl_job_controller.cc#newcode573 net/http/http_stream_factory_impl_job_controller.cc:573: main_job_is_blocked_ = false; Might as well just set ...
3 years, 10 months ago (2017-02-15 00:52:09 UTC) #8
Zhongyi Shi
ptal, thanks! https://codereview.chromium.org/2693043008/diff/40001/net/http/http_stream_factory_impl_job_controller.cc File net/http/http_stream_factory_impl_job_controller.cc (right): https://codereview.chromium.org/2693043008/diff/40001/net/http/http_stream_factory_impl_job_controller.cc#newcode573 net/http/http_stream_factory_impl_job_controller.cc:573: main_job_is_blocked_ = false; On 2017/02/15 00:52:08, Ryan ...
3 years, 10 months ago (2017-02-15 01:39:10 UTC) #10
Ryan Hamilton
lgtm
3 years, 10 months ago (2017-02-15 01:48:23 UTC) #11
Zhongyi Shi
I'll need to wait the NetLog cl landed and rebase this one before landing.
3 years, 10 months ago (2017-02-15 01:57:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2693043008/100001
3 years, 10 months ago (2017-02-15 13:50:20 UTC) #15
Ryan Hamilton
https://codereview.chromium.org/2693043008/diff/100001/net/http/http_stream_factory_impl_job_controller.cc File net/http/http_stream_factory_impl_job_controller.cc (right): https://codereview.chromium.org/2693043008/diff/100001/net/http/http_stream_factory_impl_job_controller.cc#newcode585 net/http/http_stream_factory_impl_job_controller.cc:585: main_job_wait_time_ = delay; Does this need to happen before ...
3 years, 10 months ago (2017-02-15 14:53:55 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 15:23:47 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/ff2bfbfd76f3c43e5618addd34c8...

Powered by Google App Engine
This is Rietveld 408576698