aboutsummaryrefslogtreecommitdiff
path: root/tests/httpserver.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/httpserver.pl')
-rwxr-xr-xtests/httpserver.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/httpserver.pl b/tests/httpserver.pl
index 9e473f3c9..f5cf62cbe 100755
--- a/tests/httpserver.pl
+++ b/tests/httpserver.pl
@@ -137,6 +137,9 @@ for ( $waitedpid = 0;
$testnum=0;
}
open(INPUT, ">>log/server.input");
+
+ binmode(INPUT,":raw"); # this makes it work better on cygwin
+
for(@headers) {
print INPUT $_;
}