cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: use libcurl in fastcgi/lighttpd

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 23 Jan 2011 15:48:34 +0100 (CET)

On Sat, 22 Jan 2011, CHENG LIANG wrote:

> 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.

I'm sorry but I don't understand. Who gets the 500 errors? In what way does
libcurl change anything that would cause or generate 500 errors?

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