vulcand / oxy

Go middlewares for HTTP servers & proxies
Apache License 2.0
2.02k stars 324 forks source link

Reduce gRPC status checking overhead #237

Closed longit644 closed 1 year ago

longit644 commented 1 year ago

Retrieving values from HTTP headers is a high-cost operation because the key must be canonicalized. To reduce overhead, this PR avoids calling this operation twice.