[Patches] [ python-Patches-630829 ] telnetlib.py: don't block on IAC and enhancement

noreply@sourceforge.net noreply@sourceforge.net
Mon, 04 Nov 2002 01:56:54 -0800


Patches item #630829, was opened at 2002-10-30 02:35
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=630829&group_id=5470

Category: Library (Lib)
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 7
Submitted By: Ha Shao (hashao)
Assigned to: Nobody/Anonymous (nobody)
Summary: telnetlib.py: don't block on IAC and enhancement

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Martin v. L÷wis (loewis)
Date: 2002-11-04 10:56

Message:
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;

----------------------------------------------------------------------

Comment By: Ha Shao (hashao)
Date: 2002-10-31 05:17

Message:
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.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=630829&group_id=5470