mirror of https://github.com/gorilla/websocket.git
mod: comment out
This commit is contained in:
parent
785fa70cb3
commit
9177fe8645
|
@ -7,7 +7,6 @@ package websocket
|
|||
import (
|
||||
"bufio"
|
||||
"errors"
|
||||
"fmt"
|
||||
"net"
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
@ -187,7 +186,6 @@ func (u *Upgrader) Upgrade(w http.ResponseWriter, r *http.Request, responseHeade
|
|||
if compress {
|
||||
switch {
|
||||
case contextTakeover:
|
||||
fmt.Println("contextTakeover strategy is set...")
|
||||
c.newCompressionWriter = compressContextTakeover
|
||||
c.newDecompressionReader = decompressContextTakeover
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue