Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[HttpClient] Various fixes and hardenings#64243

Merged
nicolas-grekas merged 1 commit into
symfony:8.1symfony/symfony:8.1from
nicolas-grekas:81-fixes-http-clientnicolas-grekas/symfony:81-fixes-http-clientCopy head branch name to clipboard
May 19, 2026
Merged

[HttpClient] Various fixes and hardenings#64243
nicolas-grekas merged 1 commit into
symfony:8.1symfony/symfony:8.1from
nicolas-grekas:81-fixes-http-clientnicolas-grekas/symfony:81-fixes-http-clientCopy head branch name to clipboard

Conversation

@nicolas-grekas
Copy link
Copy Markdown
Member

Q A
Branch? 8.1
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

$cachedData['expires_at'] = self::calculateExpiresAt($maxAge);
$cachedData['stored_at'] = time();
$cachedData['initial_age'] = self::getCurrentAge($headers);
$cachedData['headers'] = $headers;
Copy link
Copy Markdown
Member Author

@nicolas-grekas nicolas-grekas May 18, 2026

Choose a reason for hiding this comment

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

@Lctrs OK for you? Likely something to backport on 7.4 (we need the updated $cachedData in the call to replaceResponse below

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If that's okay to group them, I have a few more fixes locally for CachingHttpClient

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

sure, can you send them for branch 7.4 where they apply I suppose?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Will do tonight. They conflict with each other so I'll close the 3 PRs I opened and just put it all in a single PR.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

See #64260

@nicolas-grekas nicolas-grekas force-pushed the 81-fixes-http-client branch from 4513322 to 0080274 Compare May 19, 2026 07:46
@nicolas-grekas nicolas-grekas merged commit bc7233e into symfony:8.1 May 19, 2026
@nicolas-grekas nicolas-grekas deleted the 81-fixes-http-client branch May 19, 2026 08:53
@fabpot fabpot mentioned this pull request May 20, 2026
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.