1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
Description: Change import to new golang.org/x/net/websocket.
https://groups.google.com/forum/#!msg/golang-nuts/eD8dh3T9yyA/l5Ail-xfMiAJ
Author: David Fifield <david@bamsoftware.com>
Applied-Upstream: 7fbabe47b0fdb51c1573221024da7786cbf7ebe1
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
diff --git a/websocket-client/websocket-client.go b/websocket-client/websocket-client.go
index 859d98e..8943a97 100644
--- a/pt-websocket-client/pt-websocket-client.go
+++ b/pt-websocket-client/pt-websocket-client.go
@@ -7,7 +7,7 @@
package main
import (
- "code.google.com/p/go.net/websocket"
+ "golang.org/x/net/websocket"
"flag"
"fmt"
"io"
diff --git a/websocket/websocket.go b/websocket/websocket.go
index 5786fdf..7c649e3 100644
--- a/websocket/websocket.go
+++ b/websocket/websocket.go
@@ -5,7 +5,7 @@
// maximum buffering of messages.
//
// The reason for using this custom implementation instead of
-// code.google.com/p/go.net/websocket is that the latter has problems with long
+// golang.org/x/net/websocket is that the latter has problems with long
// messages and does not support server subprotocols.
// "Denial of Service Protection in Go HTTP Servers"
// https://code.google.com/p/go/issues/detail?id=2093
--
cgit v0.10.2
|