Modify ↓
Opened at 2007-01-04T00:22:31Z
Closed at 2015-11-01T21:30:13Z
#231 closed defect (fixed)
Clean up _connected() event handler when closing a socket
Reported by: | wilmer | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BitlBee | Version: | devel |
Keywords: | Cc: | ||
IRC client+version: | Client-independent | Operating System: | Public server |
OS version/distro: |
Description
Nasty things can happen when the _connected() event handler for a connection gets called while the connection is dead already. Most protocols check if the connection is still alive, but the new Jabber module doesn't do this.
This shouldn't happen when using libevent because its disconnect() function already cleans up event handlers. GLib event handler should probably do this too.
Attachments (0)
Change History (2)
comment:1 Changed at 2008-03-15T20:37:54Z by
Milestone: | 1.2 |
---|---|
Priority: | major → normal |
comment:2 Changed at 2015-11-01T21:30:13Z by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I think this shouldn't happen anymore with proxy_disconnect()
Note: See
TracTickets for help on using
tickets.
Meh. The jabber_connected() function now does this too. People should just use libevent if they really care about stability that much.