Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: SIGPIPE not trapped after sleep in CGI

by zwon (Monsignor)
on Oct 28, 2012 at 13:37 UTC ( #1001267=note: print w/ replies, xml ) Need Help??


in reply to SIGPIPE not trapped after sleep in CGI

Try to add following two lines after print "output #2\n";:

sleep 5; print "output #3\n";
and you will get your SIGPIPE.

Update:


Comment on Re: SIGPIPE not trapped after sleep in CGI
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2016-02-06 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (231 votes), past polls