You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Connection header is per hop and shouldn't be forwarded through a proxy. Note most of the spec concerns here apply to traditional forward proxies, but they might still be useful for a reverse proxy. E.g. Forwarding a Connection: close header would allow the client to terminate the proxy's connection to the destination and negatively impact performance.
Note for WebSockets we do need to forward the Connection: Upgrade header, so we can't ban Connection outright.
The text was updated successfully, but these errors were encountered:
It removes most of the connection-related request and response headers to shield the YARP against malicious clients and downstream servers which can try to manipulate HTTP connections controlled by YARP. Headers required for WebSockets protocol upgrade are exempted from this policy.
Fixes#439
https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.10
The Connection header is per hop and shouldn't be forwarded through a proxy. Note most of the spec concerns here apply to traditional forward proxies, but they might still be useful for a reverse proxy. E.g. Forwarding a
Connection: close
header would allow the client to terminate the proxy's connection to the destination and negatively impact performance.Note for WebSockets we do need to forward the
Connection: Upgrade
header, so we can't ban Connection outright.The text was updated successfully, but these errors were encountered: