Permalink
Browse files

Sidecar process needs STDOUT to be binmode and length() to return oct…

…ets.
  • Loading branch information...
1 parent e5e9299 commit 10c301fe0b9079866523b663e59b4ca308b38ce6 @rcaputo committed Jan 27, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/POE/Component/Resolver.pm
@@ -204,6 +204,9 @@ sub _sidecar_code {
my $buffer = "";
my $read_length;
+ binmode(STDOUT);
+ use bytes;
+
while (1) {
if (defined $read_length) {
if (length($buffer) >= $read_length) {

0 comments on commit 10c301f

Please sign in to comment.