Diff below updates net/go-websocket to current upstream version. The
most relevant change for us is a fix for GitHub issue #10866:
websocket.Conn.Close leaks file descripts if remote has disconnected.
Tested with net/websocketd on amd64, everything builds & runs fine.
Ok?
Index: Makefile
===================================================================
RCS file: /work/cvsroot/ports/net/go-websocket/Makefile,v
retrieving revision 1.4
diff -p -u -r1.4 Makefile
--- Makefile 12 Jun 2015 19:42:39 -0000 1.4
+++ Makefile 23 Jul 2015 19:20:06 -0000
@@ -2,12 +2,11 @@
COMMENT = golang websocket package
-VERSION = 0.0
+VERSION = 0.1
DISTNAME = go-websocket-${VERSION}
-GH_COMMIT = 97d8e4e174133a4d1d2171380e510eb4dea8f5ea
+GH_COMMIT = 446d52dd4018303a13b36097e26d0888aca5d6ef
GH_ACCOUNT = golang
GH_PROJECT = net
-REVISION = 2
CATEGORIES = net www
Index: distinfo
===================================================================
RCS file: /work/cvsroot/ports/net/go-websocket/distinfo,v
retrieving revision 1.1.1.1
diff -p -u -r1.1.1.1 distinfo
--- distinfo 31 Mar 2015 15:37:06 -0000 1.1.1.1
+++ distinfo 23 Jul 2015 19:20:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (go-websocket-0.0.tar.gz) = OF1Aeg9AjHU3z/bS79Z75GLwrrWCYZuraue7flnTa1A=
-SIZE (go-websocket-0.0.tar.gz) = 448148
+SHA256 (go-websocket-0.1.tar.gz) = kunEclJnJXPkmGgqt8Uw+kR1WkuEqdAKsPGPuRIhp2E=
+SIZE (go-websocket-0.1.tar.gz) = 483230