Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: CGI::Application file uploads buffering

by cjb (Friar)
on Mar 24, 2011 at 14:11 UTC ( #895267=note: print w/ replies, xml ) Need Help??


in reply to CGI::Application file uploads buffering

What is $| set to?


Comment on Re: CGI::Application file uploads buffering
Download Code
Re^2: CGI::Application file uploads buffering
by Anonymous Monk on Mar 24, 2011 at 14:13 UTC
    thanks, it's set to $|++; near the top of my script. Do I need to put this somewhere special for CGI::Application?
Re^2: CGI::Application file uploads buffering
by Anonymous Monk on Mar 24, 2011 at 14:27 UTC
    ALso I note that there's a temp file in /var/tmp called CGItempXXXX. Why is this here if I'm using file::temp?

      perldoc seems to indicate "under Accessing the temp files directly" that's expected behavior for CGI.pm. You might want to look at the section "Progress bars for file uploads and avoiding temp files"

        Thanks. When experimenting we found that files > 2.1 GB cause an error in apache:
        Invalid Content-Length (-3)Unknown error: Error reading request entity data
        I think I need to go find out if this bug is fixed. Running 2.2.8, so it's old. Still curious as how to get avoid writing to /tmp like that. Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://895267]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-09-22 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (180 votes), past polls