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
This is Rakudo version 2016.11 built on MoarVM version 2016.11
implementing Perl 6.c.
Here is a program that demonstrates the problem.
use v6;
my $s = IO::Socket::INET.new(:host('irc.freenode.net'), :port(6667));
$s.print("QUIT\r\n");
for $s.lines { say $_; }
say so $s.print("this should fail");
On Mon, 19 Dec 2016 14:38:09 -0800, bradleyg@Dal.Ca wrote:
This is Rakudo version 2016.11 built on MoarVM version 2016.11
implementing Perl 6.c.
Here is a program that demonstrates the problem.
use v6;
my $s = IO::Socket::INET.new(:host('irc.freenode.net'), :port(6667));
$s.print("QUIT\r\n");
for $s.lines { say $_; }
say so $s.print("this should fail");
Note that if you explicitly close the socket, this works as expected.
use v6;
my $s = IO::Socket::INET.new(:host('irc.freenode.net'), :port(6667));
$s.print("QUIT\r\n");
for $s.lines { say $_; }
$s.close;
say so $s.print("this should fail");
:rajaniemi.freenode.net NOTICE * :*** Looking up your hostname...
:rajaniemi.freenode.net NOTICE * :*** Checking Ident
:rajaniemi.freenode.net NOTICE * :*** Couldn't look up your hostname
:rajaniemi.freenode.net NOTICE * :*** No Ident response
ERROR :Closing Link: 127.0.0.1 (Client Quit)
False
Migrated from rt.perl.org#130377 (status was 'open')
Searchable as RT130377$
The text was updated successfully, but these errors were encountered: