Skip to content

golang filter: do not clear route cache in the HeaderMap.Set API #33082

Closed

Description

@doujiang24

instead, add a new API ClearRouteCache in FilterCallbacks

Reason:
Sometimes, we want to remove a prefix pattern in :path, without updating the route cache. otherwise, it may leads to route_not_found.
This is useful in API gateway scenarios when people add a base path in API spec, and we don't want other filters/backend upstream to know this base path exists.

Activity

  1. added
    enhancement
    triage
    on Mar 23, 2024
  2. added
    help wanted
    and removed
    triage
    on Mar 25, 2024
  3. doujiang24 commented on Mar 25, 2024

    @doujiang24
    MemberAuthor

    /assign @doujiang24

  4. added a commit that references this issue on Apr 1, 2024
    6e3d574
  5. added a commit that references this issue on Apr 29, 2024
    37d7d9a
  6. added a commit that references this issue on Jun 27, 2024
    db44b35
  7. added a commit that references this issue on Mar 25, 2025
    ce2b25b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/golangarea/http_filterenhancementhelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions