Changeset e132b60 for protocols/twitter


Ignore:
Timestamp:
2012-11-11T23:32:47Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
67ebc8e
Parents:
dd672e2
Message:

Extend keepalive code to time out connections when pings don't get
acknowledged, using this for Twitter streams and MSN so far.

Location:
protocols/twitter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    rdd672e2 re132b60  
    7272                   us the rest. \o/ */
    7373                twitter_open_stream(ic);
     74                ic->flags |= OPT_PONGS;
    7475        } else {
    7576                /* Not using the streaming API, so keep polling the old-
  • protocols/twitter/twitter_lib.c

    rdd672e2 re132b60  
    740740                return;
    741741       
     742        ic->flags |= OPT_PONGED;
    742743        td = ic->proto_data;
    743744       
Note: See TracChangeset for help on using the changeset viewer.