Modify

#404 closed defect (fixed)

Connection cleanup not working properly

Reported by: wilmer Owned by: wilmer
Priority: major Milestone: 1.2.1
Component: Yahoo Version: 1.2
Keywords: Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

I noticed that BitlBee processes often have a few dead Yahoo! sockets opened. I had issues in the past with properly cleaning up libyahoo2 connections, but didn't know it was this bad.

Also, sometimes it looks like "account off yahoo" doesn't actually log out. This is most likely related.

Attachments (0)

Change History (2)

comment:1 Changed at 2008-06-14T00:28:46Z by wilmer

Okay, I could've seen this coming. libyahoo2 tries to do all writes asynchronously, which is nice and all, but the event handling code actually drops events when the corresponding account is down already. Which means the code never gets to actually finishing the cleanup/closing the socket.

comment:2 Changed at 2008-06-14T01:29:14Z by wilmer

Resolution: fixed
Status: newclosed

Okay, I think I fixed this now. I hope the fix didn't introduce any new issues.

Also sent a mail to libyahoo2-devel, this seemed to be broken on purpose. :-/

Modify Ticket

Action
as closed The owner will remain wilmer.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.