cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Libcurl dalays SYN (HTTP connection timeout)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 27 Apr 2010 14:07:33 +0200 (CEST)

On Tue, 27 Apr 2010, conchi wrote:

Please don't top-post!

> It is a bit difficult for me to use now the ptrace.

We said strace... (and I don't know if there are any windows alternatives, but
I seem to recall some tools have been mentioned in the past)

> It is MFC simple project in VS.

Sorry, but I'm primarily on Linux and I don't have any dev setup for Windows.
Can you make just a simple stand-alone example with as little OS-specific code
as possible?

> If you compile and run it you can see that sometimes the request fails.
> When this happens if you see it with a network sniffer, you can see that
> really the SYN has been delayed....

You can't trace application problems simply by checking the network. I want to
know what happens _before_ the TCP handshake is started. Why is it delayed?
libcurl has nothing that on purpose delays the connection.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-27