Don't bother closing the socket

This commit is contained in:
Asim 2016-03-14 17:57:49 +00:00
parent 6028c2f9e8
commit 77177508ce

View File

@ -52,8 +52,6 @@ func TestHTTPTransportCommunication(t *testing.T) {
defer l.Close() defer l.Close()
fn := func(sock transport.Socket) { fn := func(sock transport.Socket) {
defer sock.Close()
for { for {
var m transport.Message var m transport.Message
if err := sock.Recv(&m); err != nil { if err := sock.Recv(&m); err != nil {