Subject: Re: [PATCH] Make c-ares support more socket options

Re: [PATCH] Make c-ares support more socket options

From: Steinar H. Gunderson <sesse_at_google.com>
Date: Tue, 25 Sep 2007 11:25:21 +0200

On Tue, Sep 25, 2007 at 11:17:06AM +0200, Daniel Stenberg wrote:
> You're right, I figure that's the spot-on answer why disabling Nagle is
> almost always a good idea: you're most likely to just do a single-shot DNS
> communication and then it'll take a while until the next one is done.

Mm. Still, I thought the Nagle algorithm only pauses if there's a single
byte waiting. It's more complexity on the way, though.

> Will you provide an updated patch with the #ifdef and added comment?

Attached.

/* Steinar */

-- 
Software Engineer, Google Norway

Received on 2007-09-25