Re: DNS Round Robin Handling

Christian Biesinger <[email protected]> Thu, 5 Jul 2012 19:23:56 -0700
Newsgroups gmane.comp.mozilla.devel.netlib
Message-ID <CACpOFMsR3xOXoVhuQ6cNermT1NCoW=JqEuFsP=+VkW=FkYwFYA@mail.gmail.com>
On Thu, Jul 5, 2012 at 6:15 PM, Zippy Zeppoli <[email protected]> wrote:
> I was wondering, how does Necko (if thats the proper layer) handle DNS
> round robin.
> If it hits a webserver which resolves but times out, will it automatically
> fail over to the other IP?
> What are the stats for the timeout?

Firefox does fail over when it gets a connection error from the host.
As for timeouts, I believe we just use whatever the OS timeout is for
the connect() call.

-christian