Skip to content

Make TrustedProxies feature backward-compatible #2819

@zihengCat

Description

@zihengCat

@appleboy @thinkerou @manucorporat

New engine.TrustedProxies feature PR2632 brings breaking changes in many usage case.

  • RunTLS or run in HTTP handler directly doesn't call prepareTrustedCIDRs.
  • Client IP parsing.

Related issues:

PR2692 exports an API to set TrustedProxies but not fix backward compatibility.

We need to make engine.TrustedProxies feature backward-compatible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions