Make TrustedProxies
feature backward-compatible
#2819
Labels
Milestone
TrustedProxies
feature backward-compatible
#2819
@appleboy @thinkerou @manucorporat
New
engine.TrustedProxies
feature PR2632 brings breaking changes in many usage case.RunTLS
or run in HTTP handler directly doesn't callprepareTrustedCIDRs
.Related issues:
engine.prepareTrustedCIDRs()
#2814PR2692 exports an API to set
TrustedProxies
but not fix backward compatibility.We need to make
engine.TrustedProxies
feature backward-compatible.The text was updated successfully, but these errors were encountered: