Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion perl/Realplexor/Event/Server.pm
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ sub handle_connect {
eval {
my $accepted = $sock->accept() or die "accept failed: $@";
$accepted->blocking(0); # this line is REALLY needed, else a hang may appear
binmode($accepted);
binmode($accepted, ':utf8');
my $fh = new Realplexor::Event::FH($accepted);
my $connection = $self->{connectionclass}->new($fh, $self);
my $callback; $callback = sub {
Expand Down