Changeset 748bcdd for protocols/twitter


Ignore:
Timestamp:
2010-11-21T15:23:54Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
495d21b
Parents:
bb151f7
Message:

Time out if logging in takes too long (2m for now). Except for Twitter
OAuth login, which requires user action. This mostly solves problems with
OSCAR login silently failing, but may also be useful in other places.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    rbb151f7 r748bcdd  
    108108
    109109        td->oauth_info = oauth_request_token( &twitter_oauth, twitter_oauth_callback, ic );
     110       
     111        /* We need help from the user to complete OAuth login, so don't time
     112           out on this login. */
     113        ic->flags |= OPT_SLOW_LOGIN;
    110114}
    111115
Note: See TracChangeset for help on using the changeset viewer.