[Python-bugs-list] [Bug #110607] Telnet close (PR#181)

noreply@sourceforge.net noreply@sourceforge.net
Fri, 15 Sep 2000 08:10:39 -0700


Bug #110607, was updated on 2000-Jul-31 14:05
Here is a current snapshot of the bug.

Project: Python
Category: Library
Status: Closed
Resolution: Works For Me
Bug Group: Irreproducible
Priority: 5
Summary: Telnet close (PR#181)

Details: Jitterbug-Id: 181
Submitted-By: cha@tandberg.no
Date: Wed, 12 Jan 2000 09:49:29 -0500 (EST)
Version: 1.5.2
OS: Windows NT4.0


The telnet.close() object does not close the telnet session.
Session will only be closed after a timeout on the remote side.

 



====================================================================
Audit trail:
Wed Jan 12 18:29:38 2000	guido	changed notes
Wed Jan 12 18:29:38 2000	guido	changed notification
Wed Jan 12 18:29:38 2000	guido	moved from incoming to open

Follow-Ups:

Date: 2000-Aug-23 18:50
By: montanaro

Comment:
Replied to the submitter asking for a short script that fails.  I don't run Windows so I may not be able to track
this down.

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

Date: 2000-Sep-04 07:54
By: montanaro

Comment:
Never did get any response from the submitter.  This was
apparently originally submitted back in January.  I'm simply going to bounce this back to Tim since he at least runs Windows...

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

Date: 2000-Sep-14 22:23
By: tim_one

Comment:
Assigned to Guido, cause it looks like telnetlib.py may be his code, he also has Windows, and-- unlike me --may actually know of a machine he can telnet *to* (I've never used this stuff, & the BeOpen machines don't telnet for me).  The .close() method certainly appears to be closing the underlying socket.

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

Date: 2000-Sep-15 08:10
By: gvanrossum

Comment:
Best I can tell, the connection is correctly closed by the close() method.
I telnetted into a Unix machine from a Win98 SE machine (I have no NT here) and checked with netstat that the connection existed. Then I called the close() method. Then netstat showed the connection as closed for about 1 second and then no longer had it.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=110607&group_id=5470