curl-library
RE: use libcurl in fastcgi/lighttpd
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 23 Jan 2011 19:31:08 +0100 (CET)
Date: Sun, 23 Jan 2011 19:31:08 +0100 (CET)
On Sun, 23 Jan 2011, CHENG LIANG wrote:
Please don't top-post.
> the logic is when fastcgi server receive the request from client, it will
> use curl library send a http request out to another web site. Based on
> response fastcgi server received, the fastcgi serevr will generate a
> response to client.
Ok, but how could then libcurl in any way cause a 500 response to get
returned? It doesn't make sense.
> I guess: since fastcgi server is a web server, does the server will be
> broken if the curl be called from inside?
Not at all. If the server uses libcurl or not shouldn't matter at all.
I think you're barking up the completely wrong tree here.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-01-23