summaryrefslogtreecommitdiff
path: root/tests/LightyTest.pm
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-10-10 20:02:23 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-10-19 21:40:14 -0400
commitdc51e9d61c1799892c2c9d5a8582905249f3951c (patch)
tree108bba063db841a64116c383b021331e35962617 /tests/LightyTest.pm
parent96abd9cfb886679ce85e9cb94ff45a7c42def30a (diff)
downloadlighttpd-git-dc51e9d61c1799892c2c9d5a8582905249f3951c.tar.gz
[tests] simulate slow, small packets more quickly
simulate slow, small packets more quickly 1ms between chars is plenty slow; 100ms is excessive fixup
Diffstat (limited to 'tests/LightyTest.pm')
-rw-r--r--tests/LightyTest.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/LightyTest.pm b/tests/LightyTest.pm
index baad6d99..5b5d60af 100644
--- a/tests/LightyTest.pm
+++ b/tests/LightyTest.pm
@@ -234,15 +234,15 @@ sub handle_http {
print $remote $_;
diag("<< ".$_."\n") if $is_debug;
- select(undef, undef, undef, 0.1);
+ select(undef, undef, undef, 0.001);
print $remote "\015";
- select(undef, undef, undef, 0.1);
+ select(undef, undef, undef, 0.001);
print $remote "\012";
- select(undef, undef, undef, 0.1);
+ select(undef, undef, undef, 0.001);
print $remote "\015";
- select(undef, undef, undef, 0.1);
+ select(undef, undef, undef, 0.001);
print $remote "\012";
- select(undef, undef, undef, 0.1);
+ select(undef, undef, undef, 0.001);
}
}