cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl error messages

From: <chris.m.zanelli_at_transport.qld.gov.au>
Date: Fri, 6 Jun 2003 10:51:30 +1000

Hi there,

I get lots of different error messages back from curl and they are all good.
Sometimes I get 127 for the return code and the transaction has worked fine. We
use https to a weberver and get a valid result but the return code is 127 ? Why
is this ?

Also less important the -m/--max-time timeout option doesn't work, so we coded
around this.
We use curl 7.8.1

* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=AU/ST= /L=Brisbane/O= /OU=/CN=www. .au
* common name: www..au (does not match '.au')
* issuer: /C=AU/ST=Queensland/L=Brisbane/O=/CN=
* Connected to .au (192.168.34.13)
> POST /Message/MessageReceiver/ HTTP/1.1
User-Agent: curl/7.8.1 (sparc-sun-solaris2.8) libcurl 7.8.1 (OpenSSL 0.9.6b)
Host: .au
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Length: 288
Content-Type: application/x-www-form-urlencoded

<message type="list_available_plate" request_id="123456" version="001"> <reques
t> <plate_number>BOB66</plate_number> <plate_class>PERS</plate_class>
 <plate_type>MV</plate_type> <processing_date>2002-05-30</processing_date>
   <quantity>1</quantity> </request></message>
Waiting for PID=578, 54 seconds
  % Total % Received % Xferd Average Speed Time Curr.
                                 Dload Upload Total Current Left Speed
100 295 0 295 0 0 22 0 --:--:-- 0:00:13 --:--:-- 0
* Connection (#0) left alive
* Closing live connection (#0)

************************************************************
Opinions contained in this e-mail do not necessarily reflect
the opinions of the Queensland Department of Main Roads,
Queensland Transport or National Transport Secretariat, or
endorsed organisations utilising the same infrastructure.
If you have received this electronic mail message in error,
please immediately notify the sender and delete the message
from your computer.
************************************************************

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
Received on 2003-06-06