#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:


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 wilmer

Milestone: 1.2
Priority: majornormal

Meh. The jabber_connected() function now does this too. People should just use libevent if they really care about stability that much.

comment:2 Changed at 2015-11-01T21:30:13Z by dx

Resolution: fixed
Status: newclosed

I think this shouldn't happen anymore with proxy_disconnect()

Modify Ticket

as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.