gorillaman has asked for the wisdom of the Perl Monks concerning the following question:
The script tells them, "File too big" and then closes the stdin.
The issue is that even if I exit the while(<STDIN>) loop and print a message to the screen, the user's browser still thinks the server is accepting the upload, and continues sending the entire file. The result is, the browser hangs as if it was sending this huge file.
Even printing a message doesn't seem to tell the browser to stop uploading.
Is there a reliable way to inform the browser to stop uploading? The server stopped accepeting data, so the browser needs to know! thanks...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: STDIN and Browsers
by ccn (Vicar) on Aug 18, 2004 at 21:15 UTC | |
|
Re: STDIN and Browsers
by dave_the_m (Monsignor) on Aug 18, 2004 at 21:14 UTC | |
by gorillaman (Acolyte) on Aug 18, 2004 at 21:18 UTC | |
|
Re: STDIN and Browsers
by Joost (Canon) on Aug 19, 2004 at 09:54 UTC |