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

fix(plugins): Fixed the stale header cache that causes a break in grpc-web & grpc-gateway plugins #14166

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

liverpool8056
Copy link
Contributor

Summary

A regression in kong.tools.http.get_header() where the header cache was probably a stale one was causing grpc-web or grpc-gateweay plugins unable to work.

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

FTI-6410

@github-actions github-actions bot added core/proxy cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee labels Jan 15, 2025
@liverpool8056 liverpool8056 force-pushed the fix/phase_local_header_cache branch from 7674b20 to 4fa8cd4 Compare January 15, 2025 07:43
(transfer-encoding) header would not be sent to the upstream gRPC
servers when `grpc-web` or `grpc-gateweay` are in use

The bug was caused by a regression in kong.tools.http.get_header()
where the header cache was probably a stale one.

FTI-6410
@liverpool8056 liverpool8056 force-pushed the fix/phase_local_header_cache branch from 4fa8cd4 to a2720e6 Compare January 15, 2025 07:50
@liverpool8056 liverpool8056 requested a review from gszr January 15, 2025 07:50
@locao locao merged commit 665eaad into master Jan 15, 2025
26 checks passed
@locao locao deleted the fix/phase_local_header_cache branch January 15, 2025 14:48
@gszr gszr added cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee and removed cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee core/proxy size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants