curl-and-php
Re: PHP & Curl - Timeout
Date: Fri, 13 Jun 2003 10:56:19 +0200
Hi Daniel,
i checked again with 4 different files on shell prompt level with verbose
modus an this is that i got .. as far
as i see it did only wait til a response 2 times and the other 2 there is
no HTML response !?
and even the reply.xml was untouched, unchanged
command was
server:/dateien # curl -F file=@immoXML_0_141532-_0.zip -o reply.xml -v
http://import.immonet.de/com/XML
anything more i could try!?
Thomas
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BIG FILE 27.7 MB 476 Records
************************************************************************************
server:/dateien # curl -F file=@immoXML_0_141532-_0.zip -o reply.xml -v
http://import.immonet.de/com/XML
* About to connect() to import.immonet.de:80
* Connected to import.immonet.de (213.20.85.42) port 80
> POST /com/XML HTTP/1.1
User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 zlib/1.1.3
Host: import.immonet.de
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Length: 29079939
Expect: 100-continue
Content-Type: multipart/form-data;
boundary=----------------------------63c13da4c447
< HTTP/1.1 100 Continue
% Total % Received % Xferd Average Speed Time Curr.
Dload Upload Total Current Left Speed
100 27.7M 0 0 100 27.7M 0 70297 0:06:53 0:06:53 0:00:00 0
* Connection #0 left intact
* Closing connection #0
nothing in reply.xml .. file has not been touched
************************************************************************************
VERY SMALL FILE 422 Bytes 0 Records
************************************************************************************
server:/dateien # curl -F file=@immoXML_0_141532-_0.zip -o reply.xml -v
http://import.immonet.de/com/XML
* About to connect() to import.immonet.de:80
* Connected to import.immonet.de (213.20.85.42) port 80
> POST /com/XML HTTP/1.1
User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 zlib/1.1.3
Host: import.immonet.de
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Length: 623
Expect: 100-continue
Content-Type: multipart/form-data;
boundary=----------------------------4b5f577c8db9
< HTTP/1.1 100 Continue
% Total % Received % Xferd Average Speed Time Curr.
Dload Upload Total Current Left Speed
100 623 0 0 100 623 0 6107 0:00:00 0:00:00 0:00:00
6107< HTTP/1.1 200 OK
< Date: Fri, 13 Jun 2003 09:24:13 GMT
< Server: Apache/1.3.26 (Unix) ApacheJServ/1.1.2 mod_ssl/2.8.10 OpenSSL/0.9.6b
< Transfer-Encoding: chunked
< Content-Type: text/plain
100 710 0 87 100 623 258 1848 0:00:00 0:00:00 0:00:00 0
* Connection #0 left intact
* Closing connection #0
very small answer in reply.xml .. as the file did not had any records in it
just xml wrapper/header
************************************************************************************
medium FILE 2.4 MB 96 Records
************************************************************************************
server:/dateien # curl -F file=@immoXML_0_141532-_0.zip -o reply.xml -v
http://import.immonet.de/com/XML
* About to connect() to import.immonet.de:80
* Connected to import.immonet.de (213.20.85.42) port 80
> POST /com/XML HTTP/1.1
User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 zlib/1.1.3
Host: import.immonet.de
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Length: 2633707
Expect: 100-continue
Content-Type: multipart/form-data;
boundary=----------------------------801cc3e12be4
< HTTP/1.1 100 Continue
% Total % Received % Xferd Average Speed Time Curr.
Dload Upload Total Current Left Speed
100 2571k 0 0 100 2571k 0 8509 0:05:09 0:05:09 0:00:00 0
* Connection #0 left intact
* Closing connection #0
reply.xml is empty/unchanged
************************************************************************************
medium FILE 999 KB 32 Records
************************************************************************************
server:/dateien # curl -F file=@immoXML_0_141532-_0.zip -o reply.xml -v
http://import.immonet.de/com/XML
* About to connect() to import.immonet.de:80
* Connected to import.immonet.de (213.20.85.42) port 80
> POST /com/XML HTTP/1.1
User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 zlib/1.1.3
Host: import.immonet.de
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Length: 993477
Expect: 100-continue
Content-Type: multipart/form-data;
boundary=----------------------------70b25017dd61
< HTTP/1.1 100 Continue
% Total % Received % Xferd Average Speed Time Curr.
Dload Upload Total Current Left Speed
100 970k 0 0 100 970k 0 10583 0:01:33 0:01:33 0:00:00
0< HTTP/1.1 200 OK
< Date: Fri, 13 Jun 2003 09:39:06 GMT
< Server: Apache/1.3.26 (Unix) ApacheJServ/1.1.2 mod_ssl/2.8.10 OpenSSL/0.9.6b
< Transfer-Encoding: chunked
< Content-Type: text/plain
100 980k 0 10850 100 970k 115 10539 0:01:34 0:01:34 0:00:00 0
* Connection #0 left intact
* Closing connection #0
reply.xml has the servlet answer vor all the 32 records i sended ...
-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Received on 2003-06-13