Tk Library Source Code

View Ticket
Login
Ticket UUID: 2853152
Title: fix async dns behaviour
Type: Patch Version: None
Submitter: mezis Created on: 2009-09-06 21:12:14
Subsystem: dns Assigned To: patthoyts
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2013-07-04 17:24:59
Resolution: Not Applicable Here Closed By:
    Closed on:
Description:
In some cases, dns::resolve may end up closing its socket "twice". Since the socket name might have been re-allocated in the meantime, thi causes someone elese's socket to get closed.
This patch fixes this by setting the socket name to "nil" just after closing it.
User Comments: mezis added on 2009-09-07 04:12:17:

File Added - 341984: tcllib-1.11.1.patch

Attachments: