We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65c03ce commit cdf8fe9Copy full SHA for cdf8fe9
ws_reverseproxy.go
@@ -179,7 +179,7 @@ func builtinForwardHeaderHandler(ctx *fasthttp.RequestCtx) (forwardHeader http.H
179
}
180
181
if cookie := ctx.Request.Header.Peek("Cookie"); string(cookie) != "" {
182
- forwardHeader.Add("Sec-WebSocket-Protocol", string(cookie))
+ forwardHeader.Add("Cookie", string(cookie))
183
184
185
if string(ctx.Request.Host()) != "" {
0 commit comments