cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl problems on mips cpu (fwd)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 1 Jan 2006 20:16:06 +0100 (CET)

Forwarded, as I believe this was the intended address...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
---------- Forwarded message ----------
Date: Wed, 28 Dec 2005 19:30:01 +0800
From: yang.xin_cd_at_zte.com.cn
To: curl-library-owner_at_cool.haxx.se
Subject: libcurl problems on mips cpu
hi,
I cross-compiled libcurl on a mips cpu
when I run command: curl http://10.197.60.33/test.htm -v, the output is :
> GET /test.htm HTTP/1.1
Host: 10.197.60.33
Accept: */*
< HTTP/1.1 200 OK
< Date: Wed, 28 Dec 2005 11:06:04 GMT
< Server: Apache/2.0.52 (Red Hat)
< Last-Modified: Fri, 25 Nov 2005 12:35:58 GMT
< ETag: "22a495-d5d-fec92780"
< Accept-Ranges: bytes
< Content-Length: 3421
< Connection: close
< Content-Type: text/html; charset=UTF-8
when I run : curl http://10.197.60.33/test.gif -v, the output is :
> GET /test.gif HTTP/1.1
Host: 10.197.60.33
Accept: */*
< HTTP/1.1 200 OK
< Date: Wed, 28 Dec 2005 11:02:01 GMT
< Server: Apache/2.0.52 (Red Hat)
< Last-Modified: Wed, 10 Aug 2005 08:10:29 GMT
< ETag: "22a53e-5bf7-d052c740"
< Accept-Ranges: bytes
< Content-Length: 23543
< Connection: close
< Content-Type: image/gif
    From the output, I guest that curl only downloads the http header and
stops somewhere, so the html page and image data are not downloaded. When
I run the same command on X86 pc, html page and image are successfully
downloaded. Could you explain this? Thanks a lot!
***********************************************
信息安全声明:本邮件包含信息归ZTE所有,
ZTE对该邮件拥有所有权利。请接收者注意
保密,未经发件人书面许可,不得向任何第
三方组织和个人透露本邮件所含信息的全部
或部分。以上声明仅适用于工作邮件。
Information Security  Notice:
The information contained in this mail is
solely property of  ZTE Corporation.
This mail communication is confidential.
Recipients named above are obligated to
maintain secrecy and are not permitted to
disclose the contents of this communication
to others.
***********************************************
Received on 2006-01-01