FastCGI and NCSA
bpm (bpm@terraweb.com)
Thu, 17 Oct 1996 10:20:33 -0500
From: bpm@terraweb.com (bpm)
To: Alan Sparks <asparks@nss.harris.com>
Subject: FastCGI and NCSA
In-Reply-To: <326562AE.5345@nss.harris.com>
Date: Thu, 17 Oct 1996 10:20:33 -0500
Message-Id: <19961017152033.AAA6327@vlad.terraweb.com>
Alan Sparks writes:
|Has anybody gotten FastCGI 1.5 to work with NCSA 1.5.2? I compiled
|with the -DFCGI stuff, fixed a missing #include for sys/time.h, had
|to define a strerror() function (I patched one up using sys_errlist).
|Finally got a clean build.
|
|But, after setting up the tiny-perl-fcgi stuff, the browser hangs.
|I've gotten Apache to work with it, but never NCSA.
|
|Anybody have a battle story they'd like to share, or a good binary
|for SunOS 4.1.4 I could borrow? I feel ugly about the fact that
|it doesn't build without first dorking with it... :(
Try this patch. It works for 1.5.2 & 1.5.2a
*** fcgi.c Tue Jun 25 17:30:24 1996
--- ../../SSLhttpd_1.5.2/src/fcgi.c Mon Jul 15 17:56:44 1996
***************
*** 2287,2293 ****
else
FD_CLR(csdOut, &write_set);
! select_status = select(numFDs, &read_set, &write_set, NULL, NULL);
if(select_status < 0)
break;
--- 2303,2309 ----
else
FD_CLR(csdOut, &write_set);
! select_status = select(numFDs, &read_set, &write_set, NULL, &timeOut);
if(select_status < 0)
break;
Works for me just fine!
--
---
Brian Millett
Technology Applications Inc. "Heaven can not exist,
(314) 530-1981 If the family is not eternal"
bpm@techapp.com F. Ballard Washburn