Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Mark Doliner <mark@ki...> - 2007-04-03 08:12:41
On Sat, 31 Mar 2007 16:29:29 -0400, Evan Schoenberg wrote
> gaim_core_init() has:
> * Call this early on to try to auto-detect our IP address and
> * hopefully save some time later.
> is there a good reason for this non-lazy determination of IP
> address? The value is *only* used in file transfers (OSCAR, Jabber,
> IRC, QQ) with the exception of connecting via SIP and Novell. It
> seems like by the general use case it should be lazy.
gaim_network_get_my_ip() sometimes uses upnp or pmp to determine the external
IP address of your machine. I think the intent here was for Gaim to perform
those upnp calls in the background so that they don't need to be done while
the user is waiting to send a file to someone. But if the calls to the upnp
and pmp code are blocking then this is a silly thing to do and it would be
fine to change it to be lazy.
Of course, it would be best if upnp and pmp are non-blocking and Gaim could
talk to your router in the background shortly after startup while your
accounts are merrily logging in.
On 4/3/07, Mark Doliner <mark@...> wrote:
> Of course, it would be best if upnp and pmp are non-blocking and Gaim
> talk to your router in the background shortly after startup while your
> accounts are merrily logging in.
The upnp stuff is non-blocking.