Re: CGI Child Process Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx] On Behalf Of Dan Poirier
Sent: Friday, March 20, 2009 8:28 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  Re: CGI Child Process Question

"Lihet Ruben" <ruben.lihet@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux