Skip to content

Commit 6caf089

Browse files
author
misu
committed
mod: examples/autobahn/server.go to pass build go 1.4, 1.5
1 parent 811803b commit 6caf089

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

examples/autobahn/server.go

+4-5
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ import (
1414
"time"
1515
"unicode/utf8"
1616

17-
"github.com/smith-30/websocket"
17+
"github.com/gorilla/websocket"
1818
)
1919

2020
var upgrader = websocket.Upgrader{
21-
ReadBufferSize: 4096,
22-
WriteBufferSize: 4096,
23-
EnableCompression: true,
24-
AllowServerContextTakeover: true,
21+
ReadBufferSize: 4096,
22+
WriteBufferSize: 4096,
23+
EnableCompression: true,
2524
CheckOrigin: func(r *http.Request) bool {
2625
return true
2726
},

0 commit comments

Comments
 (0)