curl-and-php
Re: cURL PHP Taking Too Long On POST
Date: Mon, 27 Sep 2004 05:29:29 +0600
It's a gigabit line. The reason why I think it takes long because I have
traced through the timeline of activity and can show that cURL takes a good 1
to 2 seconds to initialize and there is at least 3 seconds of cleanup time.
We have very fast machines with minimal CPU load in a production environment.
> On Sat, 25 Sep 2004, Brian Wilkins wrote:
>
> > I have a PHP script (detailed below), which takes very long to POST to
the
> > server. For each request, it takes at least 5 seconds to process the cURL
> > request, then almost 7 seconds to receive a response. Any clue on why
this
> > is happening?
>
> Low bandwidth? Very high latency? What makes you suspect that curl
> takes a longer time than it should?
>
> > My version of cURL is curl 7.9.5
>
> That is an extremely old version. I suggest you upgrade.
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
-- Brian Wilkins brian_at_hcc.net Heritage Communications Corporation Melbourne, FL USA 32935Received on 2004-09-27