Tk Library Source Code

View Ticket
Login
Ticket UUID: 1006282
Title: comm - Uncaught error when protocol negotiation fails
Type: Bug Version: None
Submitter: cleverly Created on: 2004-08-09 23:26:38
Subsystem: comm Assigned To: andreas_kupries
Priority: 8 Severity:
Status: Closed Last Modified: 2005-10-04 05:59:55
Resolution: Accepted Closed By: andreas_kupries
    Closed on: 2005-10-03 22:59:55
Description:
If a comm listening socket receives a connection (say
your host is nmap'ed, for example) that does not
properly negotiation a protocol version, comm currently
calls [error], which results in bgerror being invoked &
possibly requiring user intervention to clear the
bgerror dialog box.  

I've modified my local copy of comm.tcl to add support
for a "-silent" configuration option that controls
whether an error is thrown, after the port is closed,
or whether the "error" is just silently ignored.   In
my patch (which I'll attach), I've set the default for
-silent to 0 so that past behavior (throwing the error)
is maintained for those who may depend on it.
User Comments: andreas_kupries added on 2005-10-04 05:59:55:
Logged In: YES 
user_id=75003

Accepted and added to SF CVS Head. However I still had to
create the documentation for this.

cleverly added on 2004-08-10 06:26:38:

File Added - 97070: comm.diff

Attachments: