Re: A C CGI Library that works with FCGI?

Chris Lightfoot <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
On Tue, Oct 03, 2006 at 09:51:09PM -0400, Jeremy Cowgar wrote:
> What are you using for a CGI library that works with FCGI for the C  
> programming language? I would like to have normal GET/POST support as  
> well as file upload support.

If you use fcgi_stdio.h, then any CGI library will work
(as long as it uses the stdio-style file IO calls and not
read/write etc., which fcgi_stdio doesn't wrap); the
Boutell one seems to be popular, though its interface is a
little primitive by today's standards. Of course you need
to be a bit more careful about memory allocation when you
do this, though it's usually enough to have your program
exit after every few thousand requests or whatever.

-- 
``You've got to remember most anarchists don't get up that early....''
  (Tony Harris, chairman of the Metropolitan Police Authority,
   describing events during the morning of May Day 2001)
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.