Socket errors

Ankit Singla anksingla at gmail.com
Tue Nov 27 10:04:13 EST 2007


Sean Egan wrote:
> I'm thinking of how to better special case connection errors in the UI
> now that resiak has given us that opportunity.
>
> Right now, the only error we special case is "You've logged in
> elsewhere." We have just a single pane in the buddy list that says
> "These accounts were disconnected because you signed on elsewhere" and
> a "Re-enable" button. This solves the case where I would be logged
> into Pidgin at home, go to work, log in there, come home and have to
> click 20 different buttons to restore everything. Now everything goes
> back to normal with one click.
>
> The most common connection error is
> PURPLE_CONNECTION_ERROR_NETWORK_ERROR, or "you were randomly
> disconnected for no particular reason."
>
> I'd like to combine all these into a single connection error dialog,
> "The following connections were disconnected. Reconnecting in XX
> seconds" with a "Reconnect now" button to force the matter. 
This would be nice.
> This also
> implies combining our current auto-reconnect behavior into a single
> unified reconnect mechanism (which probably makes sense, as if more
> than one account is randomly disconnected, they'll probably all be
> able to come back online at the same time).
>   
What if there's a connection error that requires the account to wait 
before reconnection? So say a gtalk account gets logged off. Then an AIM 
account gets logged off for "you have been trying to reconnect too 
frequently." If they try to both go on together again, the AIM one will 
just hit an error and may just take longer to reconnect. This case at 
least will have to be handled differently.
> Sound good?
>
> -s.
>
> _______________________________________________
> Devel mailing list
> Devel at pidgin.im
> http://pidgin.im/cgi-bin/mailman/listinfo/devel
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2335 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://pidgin.im/pipermail/devel/attachments/20071127/3b1e7cb7/attachment-0002.bin>


More information about the Devel mailing list