Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

cache_req: Allocate topreq only if needed#4270

Merged
nigoroll merged 1 commit into
varnishcache:masterfrom
nigoroll:topreq_only_for_top_req
Feb 17, 2025
Merged

cache_req: Allocate topreq only if needed#4270
nigoroll merged 1 commit into
varnishcache:masterfrom
nigoroll:topreq_only_for_top_req

Conversation

@nigoroll
Copy link
Copy Markdown
Member

This patch avoids allocating a superfluous struct reqtop for ESI subrequests.

From a discussion here:
#4269 (comment)

Copy link
Copy Markdown
Member

@dridi dridi left a comment

Choose a reason for hiding this comment

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

LGTM

@nigoroll
Copy link
Copy Markdown
Member Author

bugwash OK

@nigoroll nigoroll force-pushed the topreq_only_for_top_req branch from dc397e0 to 7fd4dc5 Compare February 17, 2025 16:06
@nigoroll nigoroll merged commit 7fd4dc5 into varnishcache:master Feb 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants