curl-users
Re: Why Multiple Gets?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 17 Sep 2000 21:17:15 +0200 (MET DST)
Date: Sun, 17 Sep 2000 21:17:15 +0200 (MET DST)
On Fri, 15 Sep 2000, Steve Hartt wrote:
> say I type: curl http://10.10.10.10.
>
> If I get a trace of what actually happened, I see that 2 GETs where sent
> out.
>
> Why does cURL send 2 gets in this case?
It doesn't.
I can't explain how or what you saw, but curl sends one GET to get one page.
If you use the -v switch, you'll see all the request(s) curl issues.
-- Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77 ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`olReceived on 2000-09-17