httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lihet Ruben" <ruben.li...@my.fmi.unibuc.ro>
Subject [users@httpd] Re: CGI Child Process Question
Date Fri, 20 Mar 2009 19:36:23 GMT
I am talking about heavy work, something that will take about 5-10 minutes,
and so the user can cancel the job. What I want is this: does apache send
any signal to my cgi script in order to kill it ?

-----Original Message-----
From: news [mailto:news@ger.gmane.org] On Behalf Of Dan Poirier
Sent: Friday, March 20, 2009 8:28 PM
To: users@httpd.apache.org
Subject: [users@httpd] Re: CGI Child Process Question

"Lihet Ruben" <ruben.lihet@my.fmi.unibuc.ro> writes:

> The most
> important thing is I want to know if the person has downloaded the file
> completely or canceled the download. So I thought that is the user cancels
> the script, the program dies, I cannot log what happened. 

Problem: your script might have already sent its entire response and
exited before the user canceled.  There's really no way to be sure
whether the client received the complete file.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message