Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: LWP is not SIGPIPE safe?

by MidLifeXis (Prior)
on Nov 28, 2012 at 13:16 UTC ( #1006021=note: print w/ replies, xml ) Need Help??


in reply to LWP is not SIGPIPE safe?

I am failing to see a question in your comments. I will assume that your question is along the lines of "why, if HTTP::Tiny has this protection, does not LWP?"

Perhaps you can make a case for it on the mailing list (as found on the LWP documentation page), or create a patch and submit it on the github repository.

--MidLifeXis


Comment on Re: LWP is not SIGPIPE safe?
Re^2: LWP is not SIGPIPE safe?
by OlegG (Monk) on Nov 28, 2012 at 13:30 UTC
    Question is in subject of this topic
      Answer to this question is in the body of the question ;) As you can see from the code it is not handling SIGPIPE itself. On the other hand nothing prevents you from setting handler in your script from which you're using LWP.
        If so, then it is a bug. Because it is even not documented, that I should install sigpipe handler myself.
        Ok, it seems I should make test and report it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2014-12-21 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (109 votes), past polls