Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache_req: Allocate topreq only if needed #4270

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

nigoroll
Copy link
Member

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

From a discussion here:
#4269 (comment)

Copy link
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
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
1 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants