Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: IO::Socket::SSL + fork problem

by mrhyde (Novice)
on Nov 20, 2014 at 19:22 UTC ( [id://1107953]=note: print w/replies, xml ) Need Help??


in reply to Re: IO::Socket::SSL + fork problem
in thread IO::Socket::SSL + fork problem

Is it possible to realize with standard IO modules?

Replies are listed 'Best First'.
Re^3: IO::Socket::SSL + fork problem
by BrowserUk (Patriarch) on Nov 20, 2014 at 19:39 UTC

    The probable reason it works on windows and not linux is that fork under windows is really just a thread, so the "forked child" is actually still a part of the same process, (which according to anonymonk above is important to ssl connections?).

    That suggests a possible way forward would be to use threads rather than fork, which would (might) get around the problem on both platforms. Of course, it might create others.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (12)
As of 2024-04-16 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found