Artifacts Associated With Ticket 217813ffffffffff
Ticket change [72bee9a946] (rid 104912) by nobody on 2000-10-26 00:44:04:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1353 Bug Version: 8.0.4 SubmitDate: '1999-03-02' LastModified: '1999-03-02' Severity: SER Status: Closed Submitter: pat ChangedBy: pat OS: Windows NT OSVersion: 4.0 Machine: X86 FixedDate: '2000-10-25' ClosedDate: '1999-03-02' Name: ThomaS ReproducibleScript: #Observe TCP connection with netstat in a DOS-Box. Open connections have state #ESTABLISHED. # # Assuming a socket server is running on host vmsaxp and port 7412. The local # host is named artemis. # # 1) behaves fine set sock [socket vmsaxp 7412]; # TCP connection artemis:2519 has state ESTABLISHED. close $sock; # TCP connection artemis:2519 has state TIME_WAIT or disappeared from # netstat list. # # 2) misbehaves. set sock [socket vmsaxp 7412]; # TCP connection artemis:2519 has state ESTABLISHED. exec wish80 & close $sock; # TCP connection artemis:2519 still has the state ESTABLISHED. # the connection will be closed when the external process ends. ObservedBehavior: The TCP connection from the client to the server stays open, especially the server doesn't receive an EOF. The open socket cannot be contacted from tcl, neither from the parent shell nor from the spawned child shell. DesiredBehavior: After the close statement the connection should be closed. Patch: Somehow the spawn process inherits the open file descriptors of its parent. I think a flag supressing this behaviour must be set when calling CreateProcess() in tclWinPipe.c. 03/02/1999 16:47 - pat - duplicate of bug 1250
- foundin initialized to: "obsolete: 8.0.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to:
Windows only: Sockets may stay open on OS level after 'close
- type initialized to: "Bug"
Ticket change [c6ded6c86e] (rid 121844) by welch on 2000-10-26 07:49:19:
- closedate changed to: "2000-10-26T00:49:19"
- closer changed to: "welch"
- priority changed to: "1 Zero"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
Ticket change [feba87f0ab] (rid 108637) by dgp on 2001-04-13 23:11:02:
- closedate changed to: "2001-04-13T16:11:02"
- closer changed to: "dgp"
- subsystem changed to: "27. Channel Types"