in reply to Re: Net::SSH2 not thread safe?
in thread Net::SSH2 not thread safe?

Thanks, but unfortunally it still breaks at random iterations during the execution with the same error as before. But good idea, I hadn't tried that. :-)

-Jesper

Replies are listed 'Best First'.
Re^3: Net::SSH2 not thread safe?
by BrowserUk (Patriarch) on Nov 06, 2011 at 13:35 UTC

    Worth a try.

    I'm beginning to suspect that it is one of the math/crypto libraries that is used by many/all of these SSL modules that is the root source of the thread-unsafeness.

    Update: Indeed, it seems to be a bug or design deficiency in the GnuTLS library: google


    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.