Title: poplib: Line too long error causes knock-on failure to retrieve all subsequent messages
Type: Stage:
Components: Library (Lib) Versions: Python 2.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Chris Smowton
Priority: normal Keywords:

Created on 2015-07-24 15:24 by Chris Smowton, last changed 2015-07-24 15:24 by Chris Smowton.

Messages (1)
msg247283 - (view) Author: Chris Smowton (Chris Smowton) Date: 2015-07-24 15:24
As mentioned in #23906, when poplib bails from receiving a message with a 'line too long' error it neither flushes nor re-establishes the TCP connection. This means that subsequent commands fail because instead of the expected response we receive part of the unflushed data from the message that triggered the original error.
Date User Action Args
2015-07-24 15:24:32Chris Smowtoncreate