cURL / Mailing Lists / curl-users / Single Mail

curl-users

Multiple file uploading, delay problems

From: Jari-Petteri Korkiakoski <jpk_at_stc.cx>
Date: Wed, 12 Nov 2003 10:19:07 +0200 (EET)

Hey everyone,

Couldn't find a post that addresses this issue I am experienceing. I have
a strange problem when sending multiple files using the curl-command line
program. The command is similar to the following (depending on the number
of files to be transferred):

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? Something to do with the chunked-encoding that is
used?

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

I'm using curl 7.10.6 (hppa2.0w-hp-hpux11.00) libcurl/7.10.6
zlib/1.1.4 and the receiving end is a Java program running on Apache
Tomcat/4.0.3 (HTTP/1.1 Connector)

- Petteri

--
Petteri Korkiakoski
jpk_at_stc.cx
-------------------------------------------------------
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