Skip to content

Commit

Permalink
Default separator for socket includes \r\n.
Browse files Browse the repository at this point in the history
Covers RT #126553.
  • Loading branch information
jnthn committed Nov 5, 2015
1 parent 6785742 commit c5cfb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-io/IO-Socket-INET.pl
Expand Up @@ -138,9 +138,9 @@
until $server_ready_flag_fn.IO ~~ :e { sleep(0.1) }
unlink $server_ready_flag_fn;
my $sock = IO::Socket::INET.new(:$host, :$port);
# Default separator should handle \n and \r\n
say $sock.get();
say $sock.get();
$sock.input-line-separator = "\r\n";
say $sock.get();
$sock.input-line-separator = '.';
say $sock.get();
Expand Down

0 comments on commit c5cfb6a

Please sign in to comment.