Remove race / unnecessary check

This commit is contained in:
Jakob Borg 2013-12-30 10:05:13 -05:00
parent 4543bfb837
commit 673ab42c3c

View File

@ -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()