My theory is, also as Christer mentioned in comment 16, that we try to
connect immediately after wake up, but since cached host name has
expired we do complete name resolving again.  But the system is not up
that soon (few milliseconds after the wake up) to return some result.
We should then not cache the unknown-host state.

I'm not a linux developer (I don't see this behavior on a Windows
machine, but also may be just related to record expiration times) and
also I'm not directly a DNS code maintainer (however, I can do the fix
my self).

Adding Michal, since he may know better what type of error state we get
from getaddrinfo w/o a net connection up on a linux system.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/584529

Title:
  Thunderbird complains there is no connection on resume from suspend,
  when there is a connection

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/584529/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to