curl-library
Re: DNS lookup freezes easy handles (multi interface)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 27 May 2008 22:53:31 +0200 (CEST)
Received on 2008-05-27
Date: Tue, 27 May 2008 22:53:31 +0200 (CEST)
On Mon, 26 May 2008, Daniel Stenberg wrote:
> When we remove a handle from a list, and thus another one becames the first
> one, the one that then can use the connection to send or to receive data, we
> must make sure that this new handle at the start of the queue gets the
> proper treatment.
Okay, here's my first stab at an actual fix. With this applied, I manage to
get the hiperfifo example to run through even with pipelining enabled and a
bunch of URLs using the same host name.
I think I'll modify the fix slightly further, to make it work even better for
non-socket use cases but it would be great if you, Emil, tried this out this
version and checked how your app and use-case turn out with this fix applied.
-- / daniel.haxx.se
- TEXT/PLAIN attachment: socket-pipelining.patch