HP3000-L Archives

October 2000, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Wed, 4 Oct 2000 09:16:51 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
The right thing to do is to have the program which is reading the message file
do a timed read.

The Apache TimeOut directive might also work, but if you set it too low you
might impact browsers with slow network connections:

        http://www.apache.org/docs/mod/core.html#timeout

- Mark B.

"Born, Ken" wrote:
>
> Greetings,
> I have a cgi program that is launched from an HTML document.  The CGI
> program will open up 2 message files.  It will write to a message file and
> wait and listen on the other message file for the response.  However, if it
> never receives a response back, it will just wait and wait.  How do I
> shutdown the cgi program that is running under the UNIX shell? so that it
> will close the message files.  Should I put something in my code like a
> timeout routine?
>
> Thanks....

ATOM RSS1 RSS2