You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Henrik Strand <he...@axis.com> on 2012/05/09 15:41:35 UTC

[users@httpd] mod_fcgid + daemon implemented in C

Hi,

I want to use mod_fcgid (http://httpd.apache.org/mod_fcgid/) with a
daemon implemented in C. Is there a lib available like the one from the
FastCGI project (http://www.fastcgi.com/) to use for a fcgi_accept()
function? Or do I have to implement one myself?

Thanks in advance.

Kind Regards,
Henrik



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_fcgid + daemon implemented in C

Posted by Jeff Trawick <tr...@gmail.com>.
On Wed, May 9, 2012 at 9:41 AM, Henrik Strand <he...@axis.com> wrote:
> Hi,
>
> I want to use mod_fcgid (http://httpd.apache.org/mod_fcgid/) with a
> daemon implemented in C. Is there a lib available like the one from the
> FastCGI project (http://www.fastcgi.com/) to use for a fcgi_accept()
> function? Or do I have to implement one myself?

Use any FastCGI protocol library for your application.  It does not
need to be specific to the web server implementation
(httpd+mod_fastcgi, httpd+mod_fcgid, nginx, etc.).

>
> Thanks in advance.
>
> Kind Regards,
> Henrik
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_fcgid + daemon implemented in C

Posted by "William A. Rowe Jr." <wr...@rowe-clan.net>.
On 5/9/2012 8:41 AM, Henrik Strand wrote:
> 
> I want to use mod_fcgid (http://httpd.apache.org/mod_fcgid/) with a
> daemon implemented in C. Is there a lib available like the one from the
> FastCGI project (http://www.fastcgi.com/) to use for a fcgi_accept()
> function? Or do I have to implement one myself?

If you want to manage the pool of fcgi workers yourself, please take a moment to
look at mod_proxy_fcgi as a possible solution for processing the requests in lieu
of mod_fcgid. The former only streams requests/responses, while the later also
handles all of the process pool management.  [And if we were clever and had time
on our hands, we would jettison the request pipeline from mod_fcgid in favor of
delegating that work to mod_proxy_fcgi ;-]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org