cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Multiple file uploading, delay problems

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 12 Nov 2003 12:58:04 +0100 (CET)

On Wed, 12 Nov 2003, Jari-Petteri Korkiakoski wrote:

> curl -u uname:passwd -H "Transfer-Encoding: chunked" -S -i -F
> "file0=@file.xml;filename=file.xml" -F
> "file1=@file.csv;filename=file.csv" -D cookie --url
> http://url/receiving_program
>
> Problem is, when curl receives back the HTTP continue, it waits exactly one
> minute before sending anything, this happens to each file. What could be the
> cause of this?

So, you get a 100 Continue" immediately and curl just sits waiting for 60
seconds before it proceeds to actually send the data?

The reason for this can't be much else than a curl bug as I see it.

> Something to do with the chunked-encoding that is used?

Perhaps. Why are you enforcing chunked encoding at all?

> Unfortunately I don't have traces available, but can submit them if needed.

Would you be able to fire up a debugger to run this command line to see what
some internals think?

> I'm using curl 7.10.6 (hppa2.0w-hp-hpux11.00) libcurl/7.10.6

I don't think we've changed anything in those parts since that release, but it
would certainly feel safer if you could try 7.10.8 and see if the problems
remain before we start to put any more efforts into debugging this.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
 [[ Do not post private mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
Received on 2003-11-12