Skip to content

fix: after updating the header, get the old value from the ctx.var#11329

Merged
AlinsRan merged 1 commit into
apache:masterfrom
AlinsRan:fix/ctx-var-cache
Jun 6, 2024
Merged

fix: after updating the header, get the old value from the ctx.var#11329
AlinsRan merged 1 commit into
apache:masterfrom
AlinsRan:fix/ctx-var-cache

Conversation

@AlinsRan

@AlinsRan AlinsRan commented Jun 5, 2024

Copy link
Copy Markdown
Contributor

Description

Fixes #11325

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@AlinsRan
AlinsRan marked this pull request as ready for review June 5, 2024 07:22
@AlinsRan
AlinsRan merged commit 953be46 into apache:master Jun 6, 2024
@Justyell

Justyell commented Sep 11, 2024

Copy link
Copy Markdown

so why apisix cache header in ctx?

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.

bug: after using core.request.set_header to set the header, ctx.var still caches the old value

5 participants