ing
This commit is contained in:
parent
67dbc5cd28
commit
02850ce3e4
@ -191,7 +191,7 @@ func (u *Upgrader) Upgrade(ctx *fasthttp.RequestCtx, responseHeader *fasthttp.Re
|
||||
|
||||
ctx.Hijack(func(netConn net.Conn) {
|
||||
c := newConn(netConn, true, u.ReadBufferSize, u.WriteBufferSize)
|
||||
c.SetHeaders(h)
|
||||
//c.SetHeaders(h)
|
||||
c.subprotocol = subprotocol
|
||||
if compress {
|
||||
c.newCompressionWriter = compressNoContextTakeover
|
||||
|
Loading…
x
Reference in New Issue
Block a user