Subject: Re: Timeout best practices

Re: Timeout best practices

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 10 Aug 2011 19:50:16 +0200 (CEST)

On Wed, 10 Aug 2011, Jakub Hrozek wrote:

> The other way might be to have a single channel per request but that carries
> overhead as well..

This is the way we do it in curl pretty much. When we timeout we can call
ares_cancel() on the channel.

-- 
  / daniel.haxx.se
Received on 2011-08-10