Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Problem w/ forking CGI script

by tlm (Prior)
on Oct 03, 2008 at 16:20 UTC ( #715221=note: print w/ replies, xml ) Need Help??


in reply to Re: Problem w/ forking CGI script
in thread Problem w/ forking CGI script

Thanks for the tip. That's good to know in general.

The way I ultimately solved the problem was to examine the requests generated by both Safari and Firefox. One important difference was that Firefox was sending a "Keep-Alive: 300" header, while Safari wasn't. This gave me the idea of modifying the redirection to

print redirect( -Location => self_url(), -Connection => 'close' );
This worked.

But your suggestion of closing STDERR also works. I'll do both from now on, for good measure. :-)

the lowliest monk


Comment on Re^2: Problem w/ forking CGI script
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2015-07-03 16:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (54 votes), past polls