This commit is contained in:
CMGS 2014-07-21 10:10:56 +08:00
parent b0eaa89a8e
commit 7850399753
1 changed files with 1 additions and 1 deletions

View File

@ -688,7 +688,7 @@ func (c *Conn) NextReader() (messageType int, r io.Reader, err error) {
frameType, err := c.advanceFrame()
if err != nil {
if e, ok := err.(net.Error); ok && e.Timeout() {
continue
return noFrame, nil, e
}
c.readErr = hideTempErr(err)
break