Commit 7fbabe47 authored by David Fifield's avatar David Fifield
Browse files

Change import to new golang.org/x/net/websocket.

parent 086d3bcf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
package main

import (
	"code.google.com/p/go.net/websocket"
	"golang.org/x/net/websocket"
	"flag"
	"fmt"
	"io"
+1 −1
Original line number Diff line number Diff line
@@ -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