We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3d3674 commit ee36cf4Copy full SHA for ee36cf4
imapclient/client.go
@@ -575,7 +575,7 @@ func (c *Client) read() {
575
c.closeWithError(cmdErr)
576
}()
577
578
- c.setReadTimeout(idleReadTimeout)
+ c.setReadTimeout(respReadTimeout) // We're waiting for the greeting
579
for {
580
// Ignore net.ErrClosed here, because we also call conn.Close in c.Close
581
if c.dec.EOF() || errors.Is(c.dec.Err(), net.ErrClosed) || errors.Is(c.dec.Err(), io.ErrClosedPipe) {
0 commit comments