Version française
Home     About     Download     Resources     Contact us    
Browse thread
CamlGI question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Mike Hamburg <hamburg@f...>
Subject: Re: [Caml-list] CamlGI question
I have ported my application to NetCGI, and it works as a CGI script,
just as it did under OCamlGI.  However, if compiled as a FastCGI script,
it denies connections from the server and then dies (broken pipe).  I'd
rather run the cgi as a standalone application, preferably FastCGI as
that's in my server, but if the FastCGI code in NetCGI doesn't work, I'd
be fine compiling it as AJP.

How should I either
(1) fix a broken pipe error in NetCGI or
(2) fix the broken pipe?

Thanks again,
Mike Hamburg

Alex Baretta wrote:

> Michael Alexander Hamburg wrote:
>
>> Given then that my application should be multithreaded, and will be
>> running on a webserver using Rails (which traditionally uses FastCGI),
>> which of these libraries do you suggest that I use?  Http, Netcgi_afp or
>> Netcgi_fcgi?  Or are they interoperable enough that it doesn't matter?
>
>
> So long as you use Netcgi, it does not matter. The API does not expose
> the difference between the various connectors.
>
> Alex
>