| Ticket UUID: | 3598183 | |||
| Title: | Missing default detection of EOF | |||
| Type: | Bug | Version: | None | |
| Submitter: | ferrieux | Created on: | 2012-12-22 23:00:15 | |
| Subsystem: | irc | Assigned To: | andreas_kupries | |
| Priority: | 8 | Severity: | ||
| Status: | Closed | Last Modified: | 2013-01-10 03:39:05 | |
| Resolution: | Fixed | Closed By: | andreas_kupries | |
| Closed on: | 2013-01-09 20:39:05 | |||
| Description: |
The manpage says that only 3 kinds of events must be registered, and that 'defaultcmd' works as a catch-all. However, an EOF from the irc socket fails to trigger it, and there is no $dispatch(EOF) unless explicitly registered. As a consequence, a disconnection from the irc server is, by default, easily overlooked. (this happened to the KGB bot on core.tcl.tk when an IP change broke the connection) Maybe the proper fix is simply to document the fact, and promote EOF to the status of fourth mandatory callback. | |||
| User Comments: |
andreas_kupries added on 2013-01-10 03:39:05:
allow_comments - 1 The proposed fix is certainly the easy fix. So I will do it that way. Committed revision [b3b52828b9]. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki