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: telnetlib.py: don't block on IAC and enhancement
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: hashao, loewis
Priority: high Keywords: patch

Created on 2002-10-30 01:35 by hashao, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
telnetlib_IAC.diff hashao, 2002-10-30 01:35 telnetlib IAC nonblocking patch
telnetlib_enhance.diff hashao, 2002-10-31 04:17
Messages (3)
msg41505 - (view) Author: Ha Shao (hashao) Date: 2002-10-30 01:35
Use a IAC buffer to make IAC commands not block.

Also call callback on command other than
WILL/WONT/DO/DONT. People still want
to handle other commands.
msg41506 - (view) Author: Ha Shao (hashao) Date: 2002-10-31 04:17
Logged In: YES 
user_id=8717

A new patch also handle IAC SB ...  IAC SE data fetchming for
fully handling the telnet protocol. No option will use
chr(0) instead
of 256. protocol handler should know if a command has option
or not, anyway.

Supercede the last patch.

Please commit.

msg41507 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-11-04 09:56
Logged In: YES 
user_id=21627

Thanks for the patch. Committed as

libtelnetlib.tex 1.10;
telnetlib.py 1.20;
ACKS 1.214;
NEWS 1.507;
History
Date User Action Args
2022-04-10 16:05:48adminsetgithub: 37387
2002-10-30 01:35:45hashaocreate