Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Coro + LWP freezes

by Corion (Pope)
on Aug 26, 2012 at 09:00 UTC ( #989804=note: print w/replies, xml ) Need Help??


in reply to Re^2: Coro + LWP freezes
in thread Coro + LWP freezes

That's just an example. I think it is the most likely candidate for causing trouble if you are actually doing https requests.

Maybe you can switch to using http URLs for further diagnosis?

Replies are listed 'Best First'.
Re^4: Coro + LWP freezes
by elgato (Novice) on Aug 26, 2012 at 09:05 UTC
    No, i have no options. Need to use https only :( When i was using another programming language that used SSLeay i stopped to use it because of errors with SSLeay when using multithreaded requests.. Any way to switch to another way of dealing with SSL ?

      First I would try to isolate whether SSLeay really is the problem. One way would be to exchange HTTPS URLs for HTTP URLs.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989804]
help
Chatterbox?
[Cosmic37]: now I have tried another blunder - can anyone explain why I am such a dunderhead?
[Cosmic37]: if ( $line =~ /$mydt/ ) { print $line; }
[Cosmic37]: I try to match successive date times stored in variable $mydt
[Cosmic37]: I guess it is searching for the string "$mydt"
[Corion]: Indeed cool, erix ;)
[Cosmic37]: rather than the value of $mydt which is a date time strong such as 2016-01-01 12:30:56
[Corion]: Cosmic37: No, but maybe $mydt doesn't contain what you think it does, or it contains characters that are special in a regular expression? Try if( $line =~ /\Q$mydt\E/) { ... for a literal match
[Cosmic37]: I mean string grrr
[Corion]: Maybe add an else branch in which you print what the values of $line and $mydt are?
[Cosmic37]: ah thank you I will try

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-06-29 17:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (673 votes). Check out past polls.