cURL / Mailing Lists / curl-library / Single Mail

curl-library

use libcurl in fastcgi/lighttpd

From: CHENG LIANG <liangcheng001_at_hotmail.com>
Date: Sat, 22 Jan 2011 22:51:55 +0000

Hi,
 
I am creating a server using fastcgi and lighttpd based on linux. I am using c.
inside the server, I need send out a http request and store response to a string. I write a function int curl_to_string(char *s_http_req, char* s_http_res) which follow the code in the example getinmemory.c and I got many many 500(Internal server error) errors. If fastcgi does not call this function curl_to_string(), things goes well.
 
 
any help thanks.
 
 
Have good day.

Cheng Liang

                                               

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-23