net: Allow multiple HTTPS completions in DnsTaskResultsManager [chromium/src : main]

0 views
Skip to first unread message

Kenichi Ishibashi (Gerrit)

unread,
Feb 6, 2026, 12:43:54 AM (yesterday) Feb 6
to Helmut Januschka, Chromium LUCI CQ, chromium...@chromium.org, net-r...@chromium.org
Attention needed from Helmut Januschka

Kenichi Ishibashi added 1 comment

File net/dns/dns_task_results_manager.cc
Line 131, Patchset 1 (Latest): if (!is_metadata_ready_) {
Kenichi Ishibashi . unresolved

I don't think we can simply do this. `is_metadata_ready == true` means all endpoints are ready to start cryptographic handshakes. (See ServiceEndpointRequest::EndpointsCryptoReady).

If we support follow-up HTTPS queries, endpoints may have different states about crypto handshake readyness. Probably we need separate state per endpoint regarding EndpointsCryptoReady, which requires API surface changes. Also, HttpStreamPool::AttemptManager, which uses the API, assumes that once EndpointsCryptoReady() returns true all endpoints are crypto ready. We need to update AttemptManager as well.

Open in Gerrit

Related details

Attention is currently required from:
  • Helmut Januschka
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ib8d1af40240c563a0d1b081d85116a831140a356
Gerrit-Change-Number: 7531548
Gerrit-PatchSet: 1
Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
Gerrit-Comment-Date: Fri, 06 Feb 2026 05:43:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Helmut Januschka (Gerrit)

unread,
3:50 PM (7 hours ago) 3:50 PM
to Helmut Januschka, Kenichi Ishibashi, Chromium LUCI CQ, chromium...@chromium.org, net-r...@chromium.org
Attention needed from Kenichi Ishibashi

Helmut Januschka added 1 comment

File net/dns/dns_task_results_manager.cc
Line 131, Patchset 1 (Latest): if (!is_metadata_ready_) {
Kenichi Ishibashi . resolved

I don't think we can simply do this. `is_metadata_ready == true` means all endpoints are ready to start cryptographic handshakes. (See ServiceEndpointRequest::EndpointsCryptoReady).

If we support follow-up HTTPS queries, endpoints may have different states about crypto handshake readyness. Probably we need separate state per endpoint regarding EndpointsCryptoReady, which requires API surface changes. Also, HttpStreamPool::AttemptManager, which uses the API, assumes that once EndpointsCryptoReady() returns true all endpoints are crypto ready. We need to update AttemptManager as well.

Helmut Januschka

addressed this properly in https://crrev.com/c/7543703 which replaces `is_metadata_ready_` with `https_response_received_` and gates `IsMetadataReady()` on `HasPendingMetadqataTargets()`. it only returns true when all metadata target names have resolved addresses. Abandoning this CL in favor of that one.

Open in Gerrit

Related details

Attention is currently required from:
  • Kenichi Ishibashi
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ib8d1af40240c563a0d1b081d85116a831140a356
    Gerrit-Change-Number: 7531548
    Gerrit-PatchSet: 1
    Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Comment-Date: Sat, 07 Feb 2026 20:49:50 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Kenichi Ishibashi <ba...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Helmut Januschka (Gerrit)

    unread,
    3:50 PM (7 hours ago) 3:50 PM
    to Helmut Januschka, Kenichi Ishibashi, Chromium LUCI CQ, chromium...@chromium.org, net-r...@chromium.org

    Helmut Januschka abandoned this change.

    View Change

    Abandoned

    Helmut Januschka abandoned this change

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: abandon
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages