curl-library
Re: curl/libcurl http post problem
From: Michal Marek <mmarek_at_suse.cz>
Date: Tue, 15 Apr 2008 11:51:53 +0200
Date: Tue, 15 Apr 2008 11:51:53 +0200
Prasad J Pandit wrote:
> Hello guys, greetings to all!
>
> I tried to post the same data(which is > 1500 bytes), as my program, using
> curl(1) command, and this is what I receieved:
>
> ==
> curl: (18) transfer closed with outstanding read data remaining
> ==
...
> Though, the libcurl library linked with my windows program is the latest
> one. The reply I'm suppose to receice from the server is as below
> (Courtesy: Wireshark)
>
> ==
> HTTP/1.1 200 OK
> Transfer-Encoding: chunked
> Date: Tue, 15 Apr 2008 06:11:35 GMT
> Server: CherryPy/3.0.1
>
> 7
> [true]
> 0
> ==
$ echo -n ' [true]' | wc -c
8
=> the server is broken.
Michal
Received on 2008-04-15