From: matt@vespucci.iquest.com (Matt Midboe)
Subject: OSF/1 fgets() routine flakey?
Date: 1995/06/29 [thread overview]
Message-ID: <3stfo9$nbo@vespucci.iquest.com> (raw)
I'm having a really bizarre problem with Apache on an OSF/1 v3.0
machine. First off let me state that this seems to be just an OSF
thing and not an Apache thing. The same scripts work fine on a FreeBSD
machine running Apache. When I go through my form and then submit it
via a post method it goes to a perl program which spits back some html
telling me it got the info. Now this does not work everytime and here
is some stats on my success. The N means I got a 500 Server Error and
the Y means I got the proper results back.
NYNNYNYYYYNNNNNNYNNNYNYYYYNYNNYYYYNYYNYYYNYYN
21 N
24 Y
NNNYNYYYNNYNNNNNYYNNNNYYYNNNNNYNNYNNYNYYYYNYN
27 N
18 Y
The response it sent back for each positive response is 469 bytes.
Does anyone have any idea why OSF/1 is acting so flakey on this? Here
is the routine it goes through. Is there some known problem with
fgets() or something?
while(1) {
/* why did this use getline, when we can use stdio buffered I/O?? */
/* maybe we should put a timeout on this. */
if (fgets(w, MAX_STRING_LEN-1, f) == NULL) {
sprintf(w,"httpd: (1) malformed header from script %s",path);
die(SERVER_ERROR,w,fd);
}
Matt
matt@iquest.com
reply other threads:[~1995-06-29 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox