summaryrefslogtreecommitdiff
path: root/tests/LightyTest.pm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/LightyTest.pm')
-rw-r--r--tests/LightyTest.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/LightyTest.pm b/tests/LightyTest.pm
index b975d651..129acd87 100644
--- a/tests/LightyTest.pm
+++ b/tests/LightyTest.pm
@@ -223,6 +223,7 @@ sub handle_http {
print $remote $_.$BLANK;
diag("\n<< ".$_) if $is_debug;
}
+ shutdown($remote, 1) if ($^O ne "openbsd"); # I've stopped writing data
} else {
diag("\nsending request header to ".$host.":".$self->{PORT}) if $is_debug;
foreach(@request) {