cURL / Mailing Lists / curl-users / Single Mail

curl-users

* Closing connection #0

From: Ajay <stealthu471_at_gmail.com>
Date: Wed, 4 Jul 2012 14:44:14 +0530

Hello,

I have Fedora 14 installed in my system with the following versions of curl

libcurl-7.21.0-10.fc14.i686
libcurl-devel-7.21.0-10.fc14.i686
curl-7.21.0-10.fc14.i686

I have executed the following command

curl --verbose --cookie-jar cookiesFile --keepalive-time 120 --user
username:password --output placio.html --url
https://www.elpalaciodehierro.com.mx/webapp/wcs/stores/servlet/TopCategoriesDisplay?storeId=10001&catalogId=10051&langId=-5

and I am getting the message "* Closing connection #0" after getting
connected.

The output of the command is copied below.

Also, I am getting expire value to be 0 in the cookiesFile (" Expires: Wed,
04 Jul 2012 08:56:21 GMT" and "Date: Wed, 04 Jul 2012 08:56:21 GMT",
exactly same time). Why is that, even though I am passing the parameter
"--keepalive-time 120" ?

Could someone help me by giving me hints about how to solve this problem as
my searching for the solution in the mailing list is not giving any solid
leads about how to solve the problem.

Thanks a lot for your help,

Ajay

* About to connect() to www.elpalaciodehierro.com.mx port 443 (#0)
* Trying 125.252.254.55... % Total % Received % Xferd Average Speed
  Time Time Time Current
                                 Dload Upload Total Spent Left
 Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
  0connected
* Connected to www.elpalaciodehierro.com.mx (125.252.254.55) port 443 (#0)
* Initializing NSS with certpath: /etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLS_RSA_WITH_AES_256_CBC_SHA
* Server certificate:
* subject: CN=www.elpalaciodehierro.com.mx,ST=Distrito Federal,OU=Comercio
Electronico,O=El Palacio de Hierro,L=Ciudad de Mexico,C=MX
* start date: Mar 26 00:00:28 2012 GMT
* expire date: Mar 26 00:00:28 2013 GMT
* common name: www.elpalaciodehierro.com.mx
* issuer: CN=Akamai Subordinate CA 3,O=Akamai Technologies Inc,C=US
* Server auth using Basic with user 'username'
> GET /webapp/wcs/stores/servlet/TopCategoriesDisplay?storeId=10001 HTTP/1.1
> Authorization: Basic am9zZTIxMjE6Sk9TRTExMTE=
> User-Agent: curl/7.21.0 (i386-redhat-linux-gnu) libcurl/7.21.0 NSS/
3.12.10.0 zlib/1.2.5 libidn/1.18 libssh2/1.2.4
> Host: www.elpalaciodehierro.com.mx
> Accept: */*
>
  0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:--
  0< HTTP/1.1 200 OK
< Server: Apache
< Content-Type: text/html; charset=ISO-8859-1
< Content-Language: es-ES
< Expires: Wed, 04 Jul 2012 08:56:21 GMT
< Cache-Control: max-age=0, no-cache, no-store
< Pragma: no-cache
< Date: Wed, 04 Jul 2012 08:56:21 GMT
< Transfer-Encoding: chunked
< Connection: keep-alive
< Connection: Transfer-Encoding
<
{ [data not shown]
100 172k 0 172k 0 0 31400 0 --:--:-- 0:00:05 --:--:--
32486* Connection #0 to host www.elpalaciodehierro.com.mx left intact

* Closing connection #0

[1]- Done curl --verbose --cookie-jar cookiesFile
--keepalive-time 120 --user username:password --output placio.html --url
https://www.elpalaciodehierro.com.mx/webapp/wcs/stores/servlet/TopCategoriesDisplay?storeId=10001
[2]+ Done catalogId=10051

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-04