cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Slow connect time when doing a file upload.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 3 Mar 2010 13:09:12 +0100 (CET)

On Tue, 2 Mar 2010, Barry Leslie wrote:

> When using curl or libcurl to upload a file there seems to be a 2 second
> pause after connecting before the upload starts.
>
> I am using curl 7.16.3 on OS X 10.5.8 PPC.

That's a very old curl version. You may just suffer from an acient bug we've
fixed since.

> curl --upload-file afile "http://osx:8080/test"
>
> It will take 2+ seconds, the size of the file doesn't matter.

I would guess it's due to it waiting for a 100 Continue response, but I'm
not sure.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-03