You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I tried running the POD code below with a fresh install of Rakudo_2020.10 on an older MacOS.
use IO::Socket::SSL;
my $ssl = IO::Socket::SSL.new(:host<github.com>, :port(443));
my $content = Buf.new;
$ssl.print("GET /\r\n\r\n");
while my $read = $ssl.recv {
$content ~= $read;
}
say $content;
The code hangs with an SSL error, which I surmise has to do with a TLS1.2 requirement at http://github.com. I don't know if I can set an OS environment variable to overcome this issue, or whether the IO::SOCKET::SSL module in various other iterations (Perl5, etc.) accepts a TLS parameter.
Of course, it's unreasonable to expect that Raku modules support ancient OS versions, but it is useful for new users to know they can try out the Raku programming language with a reasonable expectation of success without running the 'latest-and-greatest' hardware. Thank you.
The text was updated successfully, but these errors were encountered:
Hello, I tried running the POD code below with a fresh install of Rakudo_2020.10 on an older MacOS.
The code hangs with an SSL error, which I surmise has to do with a TLS1.2 requirement at http://github.com. I don't know if I can set an OS environment variable to overcome this issue, or whether the IO::SOCKET::SSL module in various other iterations (Perl5, etc.) accepts a TLS parameter.
Of course, it's unreasonable to expect that Raku modules support ancient OS versions, but it is useful for new users to know they can try out the Raku programming language with a reasonable expectation of success without running the 'latest-and-greatest' hardware. Thank you.
The text was updated successfully, but these errors were encountered: