Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poplib: Line too long error causes knock-on failure to retrieve all subsequent messages #68894

Open
ChrisSmowton mannequin opened this issue Jul 24, 2015 · 1 comment
Labels
stdlib Python modules in the Lib dir topic-email

Comments

@ChrisSmowton
Copy link
Mannequin

ChrisSmowton mannequin commented Jul 24, 2015

BPO 24706

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2015-07-24.15:24:32.632>
labels = ['library']
title = 'poplib: Line too long error causes knock-on failure to retrieve all subsequent messages'
updated_at = <Date 2015-07-24.15:24:32.632>
user = 'https://bugs.python.org/ChrisSmowton'

bugs.python.org fields:

activity = <Date 2015-07-24.15:24:32.632>
actor = 'Chris Smowton'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2015-07-24.15:24:32.632>
creator = 'Chris Smowton'
dependencies = []
files = []
hgrepos = []
issue_num = 24706
keywords = []
message_count = 1.0
messages = ['247283']
nosy_count = 1.0
nosy_names = ['Chris Smowton']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue24706'
versions = ['Python 2.7']

@ChrisSmowton
Copy link
Mannequin Author

ChrisSmowton mannequin commented Jul 24, 2015

As mentioned in bpo-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.

@ChrisSmowton ChrisSmowton mannequin added the stdlib Python modules in the Lib dir label Jul 24, 2015
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir topic-email
Projects
None yet
Development

No branches or pull requests

1 participant