From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id D6CA5BC48 for ; Tue, 19 Apr 2005 05:24:05 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j3J3O52Z026321 for ; Tue, 19 Apr 2005 05:24:05 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA32465 for ; Tue, 19 Apr 2005 05:24:04 +0200 (MET DST) Received: from us20.unix.fas.harvard.edu (us20.unix.fas.harvard.edu [140.247.35.200]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j3J3O4UY026318 for ; Tue, 19 Apr 2005 05:24:04 +0200 Received: from [140.247.238.19] (roam238-19.fas.harvard.edu [140.247.238.19]) by us20.unix.fas.harvard.edu (8.12.11/8.12.11) with ESMTP id j3J3NFVw031302; Mon, 18 Apr 2005 23:23:53 -0400 Message-ID: <426479A2.1020404@fas.harvard.edu> Date: Mon, 18 Apr 2005 23:23:14 -0400 From: Mike Hamburg User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alex Baretta Cc: Caml-list Subject: Re: [Caml-list] CamlGI question References: <810e04dc0f6bb601fb828db8d18def6c@fas.harvard.edu> <426361DB.10704@rftp.com> <4263BAD0.5020901@barettadeit.com> <1113834691.6248.42.camel@localhost.localdomain> <4263E01D.5090705@barettadeit.com> In-Reply-To: <4263E01D.5090705@barettadeit.com> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 426479D5.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 426479D4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 baretta:01 api:01 connectors:98 wrote:01 wrote:01 compiling:02 alexander:02 alex:03 alex:03 ported:03 fix:04 fix:04 long:04 compiled:05 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: 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 >