"William A. Rowe, Jr." <[EMAIL PROTECTED]> writes: > At 07:04 PM 10/25/2002, Jeff Trawick wrote: > >"Chandragupt" <[EMAIL PROTECTED]> writes: > > > >> Hi, > >> > >> We have developed a BioInformatics Web based Application using > >> CGIC , Linux and Apache as the webserver. We are using MySQL > >> database for data handling. > >> We have run into a problem wherein if the browser which has sent > >> the request to Apache is closed in between a process, the process > >> continues to run instead of being terminated. This causes the > >> queuing of unwanted processes (both for Apache and MySQL). > > > >isn't this like PR 8388? > > > >http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8388 > > > >Can the CGI write an HTML comment to the browser fairly regularly to > >cause Apache to detect when the connection is reset? Wouldn't that > >abort the connection and cause the CGI to get cleaned up? > > > >How else would Apache notice? > > What about simply writing 0 bytes to the socket periodically? Would > that catch the disconnect?
dunno about the idea of writing 0 bytes... how would a CGI break core (or 3rd-party filter) out of a pipe read and tell it to write 0 bytes to the network? unfortunately, writing actual data doesn't work at the moment... I was playing with it last night and saw that core_output encounters an error writing to the client but some upstream filter (content-length?) didn't notice... hoping to play with that now for a while... -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...
