On Sat, 26 Mar 2011 15:56:08 +0100, Przemysław Rejf
wrote:

> My upload script which uses upload hook works really nice. After the
> upload ends it writes some debug stuff to log file and sends some info
> to other host.
> When client aborts the upload the reminder of the script after hook is
> not executed and i get an error in my apache log: [Sat Mar 26 14:53:09
> 2011] [error] [client xxx.xxx.xxx.xxx] (70014)End + of file found: Error
> reading request entity data, referer: http://lo +calhost/upload
> [download]
> I'm thinking its the fault of apache, because without abort the script
> works just fine. Does anyone have any clue about it ? The script:

Your script is invoked to read a file from the client.  If the client 
doesn't send it what else would you expect to happen?  How can it read a 
data stream that's not there?  It's not apache's fault, it's the client's 
fault for not finishing what it said it would do or your script's fault 
for not trapping an exception it needs to handle.




-- 
Peter Scott
http://www.perlmedic.com/     http://www.perldebugged.com/
http://www.informit.com/store/product.aspx?isbn=0137001274
http://www.oreillyschool.com/courses/perl3/

-- 
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/


Reply via email to