cURL / Mailing Lists / curl-library / Single Mail


Re: write callback issues (was Re: A new problem)

From: Prasad J Pandit <>
Date: Wed, 9 Apr 2008 10:07:42 +0530 (IST)

On Tue, 8 Apr 2008, Dan Fandrich wrote:
> Ahah. Are you sure you're simulating an HTTP 1.0 or 1.1 server correctly?
> libcurl doesn't support 0.9 servers, real or simulated, and it's too easy
> to mistype or misunderstand what the server would be sending. Please try
> your program against an actuall HTTP 1.x server and see if you get the
> same results.

   No, I'm not simulating any http response. All I send back is say:
"hello, world!"; But the problem is not there, it's that my function
recv_data(..) gets called even before I type "hello, world!" and hit
enter/return on the server.


   - Prasad
Received on 2008-04-09