This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: poplib: Line too long error causes knock-on failure to retrieve all subsequent messages
Type: Stage:
Components: Library (Lib) Versions: Python 2.7
process
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 2022-04-11 14:58 by admin.

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.
History
Date User Action Args
2022-04-11 14:58:19adminsetgithub: 68894
2015-07-24 15:24:32Chris Smowtoncreate