curl-library
Re:Re: Program using libcurl has problem of OS dependent
Date: Thu, 26 Jul 2007 10:45:12 +0800
Hi,
Thanks for the help.
>Date: Tue, 24 Jul 2007 23:17:35 -0700,Dan Fandrich write
>It could very well be a library incompatibility of some sort you're seeing,
>if you're using a libcurl binary that's not designed for the system you're
>on. Try compiling libcurl yourself from the source and see if the problems
>go away; it's not hard to do.
>
>>>> Dan
I have compiled libcurl from the source myself with version 7.16.4, 7.16.3
on the different OS I have metioned before. But it just has same problem.
I use EtherPeek to get the http packets and find that the send/recevied data
is the right thing i want. It seem like that curl couldn't get all the data:
0000: 44 61 74 65 3a 20 54 68 75 2c 20 32 36 20 4a 75 Date: Thu, 26 Ju
0010: 6c 20 32 30 30 37 20 30 32 3a 33 33 3a 31 39 20 l 2007 02:33:19
0020: 47 4d 54 0d 0a GMT..
<= Recv header, 2 bytes (0x2)
0000: 0d 0a ..
== Info: transfer closed with outstanding read data remaining //The data remain
== Info: Closing connection #0
== Info: Transferred a partial file
The receive buffer size is 16384
Get photos Fail!
Best Regards,
aaron shi
shiyou_at_nextbase.cn
2007-07-26
Received on 2007-07-26