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

Re: HTTP Request and Threads

by noxxi (Pilgrim)
on Sep 14, 2018 at 18:15 UTC ( [id://1222391]=note: print w/replies, xml ) Need Help??


in reply to HTTP Request and Threads

While the SSL support is mainly thread safe the initialization of the SSL library is special. The library should not be initialized per thread but should be initialized per program - before any threads are created. I therefore recommend that you do a "use IO::Socket::SSL" in your main code which will take care of initializing the SSL library in the main thread so that it will not attempt initialization in the other threads too.

Replies are listed 'Best First'.
Re^2: HTTP Request and Threads
by banhmi (Initiate) on Oct 04, 2018 at 14:43 UTC

    This solved my problem. Thank you noxxi!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-25 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found