Skip to content

Conversation

@servo-wpt-sync
Copy link
Collaborator

@servo-wpt-sync servo-wpt-sync commented Dec 21, 2025

These keep-alive records live on the CoreResourceManager since the vec
of records must be modified by the fetch thread. The script thread sometimes
requires this information as well, which is why it can send a message to
obtain the total size.

The keep-alive records must be tracked per global. That's why all code needs
to specify the pipeline_id. Requests optionally have this field, which is why
the code expects it to be present. The relevant information is added to the
navigator request to ensure it can compute it.

Fixes #41230
Reviewed in servo/servo#41457

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Servo project.

@servo-wpt-sync servo-wpt-sync force-pushed the servo_export_41457 branch 5 times, most recently from 60cfa81 to 92023f0 Compare January 4, 2026 14:09
This adds the relevant information on a request client
so that the http_loader can sum it up and check whether
a keep-alive request is allowed to be sent.

Signed-off-by: Tim van der Lippe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants