As far as I can test the issue is in `imaplib2` line 2649:
```
self.sock.shutdown(socket.SHUT_RDWR)
```
The problem does not happen when only closing the writer side using `SHUT_WR`.
This means for some reason the reader side has been shutdown. I cannot see why.
Is there a reason shutting down both sides since the `finally` block does a
`close()`?
---
Reply to this email directly or view it on GitHub:
https://github.com/OfflineIMAP/offlineimap/issues/205#issuecomment-153480214
_______________________________________________
OfflineIMAP-project mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project
OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org