Modify ↓
Opened at 2008-04-19T13:14:46Z
Closed at 2008-06-14T01:29:14Z
#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
comment:2 Changed at 2008-06-14T01:29:14Z by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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. :-/
Note: See
TracTickets for help on using
tickets.
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.