cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Problems sending file (290KB) through SOAP (over ssl)

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 9 Jan 2004 12:48:37 +0100 (CET)

On Fri, 9 Jan 2004, Daniel Fenert wrote:

> I have problem sending 290KB file through SOAP over ssl.

Let me just make a few things clear, that might help you/us solve this issue:

You talk about 'SOAP' here, which clearly is a PHP module for doing SOAP
requests. That module seems to be using the CURL module, or possibly
interfacing libcurl directly. Bugs in the SOAP code should probably first be
reported to the person(s) who wrote the SOAP stuff, to make sure that this is
not an error in that layer.

In order to track this down, it would be a lot easier if you could start
trying to repeat the problem by reducing the amount of layers. What if you use
the plain CURL module? What if you used the curl tool? What if you wrote a C
program that uses libcurl directly?

I am the primary author of libcurl and I'd like to help out to debug this, but
I can't go venturing into PHP land, and thus not that SOAP thing either.

> All other (smaller) files are sent without problems.

Even if you send 280K? What if you send larger files, like 300K? What
underlying libcurl method is this using, PUT or POST style?

> This one is sent, everything looks ok from receiver side, whole file
> is uploaded, but sender gets error:
>
> curl_exec error 28 Operation timed out with 537 out of 537 bytes received
> Sometimes error is: curl_exec error 28 Operation timed out with 0 out of -1
> bytes received

So what timeout are you using and how long time did these situations need to
happen? What if you remove the timeout?

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
Received on 2004-01-09