You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/06/03 18:16:13 UTC
Re: your mail
Thanks for the info. If anyone has a suggestions they'll be in touch
soon. Otherwise we'll be happy to consider any solution that you
come up with.
cheers,
rob
>hI,
> We are using Apache server for internal IntraNet application
> development. We have Sybase as backend database. For our forms
> processing, we call CGI scripts which are in perl, which open
> connection to Sybase and do database operations.
>
> When database is slow, our users get impatient and press stop
> button on Netscape 2.0 browser. User can do something else now,
> however, in backend CGI scripts run till they finish processing.
> When they try to send results back to user, server gets SIGPIPE
> signal and writes the message in log file.
>
> We will like CGI scripts to be "killed" when user hits the
> stop button on browser. We have been trying to change the server
> code to accomplish that. We trapped all the signal's in server
> with the hope that there will be some signal coming back to server
> when user hits "stop". We don't see any signal. Sould we ???
>
> Now we are thinking of doing ioctl on socket to get SIGPOLL signal
> when user hits "Stop".
>
> We are aware that this is not a bug or anything. Just looking
> for some friendly help. This may be usefull to all the sites
> which use your server to develop IntraNet applications. If we
> can make it work, will let you know, so may be you can add in
> next release if you think it deserver it.
>
> Please, do you have any suggestions, any other approach we shall use.
>
> Thanks
>
> Harvi Sachar
> sachar_harvi@jpmorgan.com
>
--
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb) http://www.imdb.com/
...more movie info than you can poke a stick at.