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 (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
@ -187,7 +186,6 @@ func (u *Upgrader) Upgrade(w http.ResponseWriter, r *http.Request, responseHeade
|
||||||
if compress {
|
if compress {
|
||||||
switch {
|
switch {
|
||||||
case contextTakeover:
|
case contextTakeover:
|
||||||
fmt.Println("contextTakeover strategy is set...")
|
|
||||||
c.newCompressionWriter = compressContextTakeover
|
c.newCompressionWriter = compressContextTakeover
|
||||||
c.newDecompressionReader = decompressContextTakeover
|
c.newDecompressionReader = decompressContextTakeover
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue