Changeset 733f607


Ignore:
Timestamp:
2011-10-18T03:58:14Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
c148701
Parents:
9fc017d
Message:

Stupid work-around for bug #838. The troublesome condition is known, I just
don't know exactly how BitlBee gets into it. Any more info from people who
see this problem often would be useful.

Location:
protocols/twitter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.h

    r9fc017d r733f607  
    3939        TWITTER_GOT_TIMELINE = 0x20000,
    4040        TWITTER_GOT_MENTIONS = 0x40000,
     41        TWITTER_DOING_TIMELINE_SLOW = 0x80000,
    4142} twitter_flags_t;
    4243
  • protocols/twitter/twitter_lib.c

    r9fc017d r733f607  
    727727        gboolean include_mentions = set_getbool(&ic->acc->set, "fetch_mentions");
    728728
     729        if ((td->flags & 0xf0000) == (TWITTER_DOING_TIMELINE | TWITTER_DOING_TIMELINE_SLOW)) {
     730                imcb_log(ic, "Connection seems to have stalled again.\n"
     731                             "This is a known bug, if you see this happen a lot "
     732                             "please generate some traffic dumps.");
     733                td->flags &= ~0xf0000;
     734        }
     735
    729736        if (td->flags & TWITTER_DOING_TIMELINE) {
    730737                return;
Note: See TracChangeset for help on using the changeset viewer.