From 673ab42c3c0f2aab014f6431d20c463995ed650b Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 30 Dec 2013 10:05:13 -0500 Subject: [PATCH] Remove race / unnecessary check --- protocol/protocol.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/protocol/protocol.go b/protocol/protocol.go index cc8f6e776..5b403f437 100644 --- a/protocol/protocol.go +++ b/protocol/protocol.go @@ -262,9 +262,6 @@ func (c *Connection) readerLoop() { case messageTypeRequest: c.processRequest(hdr.msgID) - if c.mreader.err != nil || c.mwriter.err != nil { - c.close() - } case messageTypeResponse: data := c.mreader.readResponse()