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

Issue 1212493003: Fix accounting and logging of HttpStream request and job bindings. (Closed)

Created:
5 years, 5 months ago by davidben
Modified:
5 years, 5 months ago
Reviewers:
*Ryan Hamilton, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@stream-job-logging
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix accounting and logging of HttpStream request and job bindings. This fixes some codepaths where a request would be bound to a job (or bound to no job if a SPDY session was established) without properly orphaning or canceling all other jobs. Also, log the binding in NetLog at the point where the jobs are bound, rather than in Complete. NetLog currently loses track of which Job was bound if the bound Job failed. This doesn't fix the URL_REQUEST not logging the result of a failed Job. BUG=504443 Committed: https://crrev.com/3e005d44ef8d8b67b7be8d0c1a73b60941680aef Cr-Commit-Position: refs/heads/master@{#336688}

Patch Set 1 #

Total comments: 2

Patch Set 2 : various #

Patch Set 3 : comment typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -53 lines) Patch
M net/http/http_stream_factory_impl.cc View 1 chunk +1 line, -4 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 2 chunks +3 lines, -8 lines 0 comments Download
M net/http/http_stream_factory_impl_request.h View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M net/http/http_stream_factory_impl_request.cc View 1 15 chunks +35 lines, -35 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 12 (5 generated)
davidben
Some possibility try jobs will explode. I did it on top of https://codereview.chromium.org/1212153002/ and haven't ...
5 years, 5 months ago (2015-06-25 23:04:18 UTC) #2
mmenke
LGTM https://codereview.chromium.org/1212493003/diff/1/net/http/http_stream_factory_impl_request.cc File net/http/http_stream_factory_impl_request.cc (right): https://codereview.chromium.org/1212493003/diff/1/net/http/http_stream_factory_impl_request.cc#newcode127 net/http/http_stream_factory_impl_request.cc:127: OrphanJobsExcept(job); This is kind of silly. Can we ...
5 years, 5 months ago (2015-06-25 23:20:20 UTC) #3
davidben
https://codereview.chromium.org/1212493003/diff/1/net/http/http_stream_factory_impl_request.cc File net/http/http_stream_factory_impl_request.cc (right): https://codereview.chromium.org/1212493003/diff/1/net/http/http_stream_factory_impl_request.cc#newcode127 net/http/http_stream_factory_impl_request.cc:127: OrphanJobsExcept(job); On 2015/06/25 23:20:20, mmenke (Off June 26 to ...
5 years, 5 months ago (2015-06-26 19:16:30 UTC) #6
Ryan Hamilton
lgtm
5 years, 5 months ago (2015-06-28 16:12:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1212493003/40001
5 years, 5 months ago (2015-06-29 22:58:49 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-06-30 00:01:53 UTC) #11
commit-bot: I haz the power
5 years, 5 months ago (2015-06-30 00:03:01 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3e005d44ef8d8b67b7be8d0c1a73b60941680aef
Cr-Commit-Position: refs/heads/master@{#336688}

Powered by Google App Engine
This is Rietveld 408576698