summaryrefslogtreecommitdiff
path: root/testsuite.sh
diff options
context:
space:
mode:
authorerdgeist <>2007-01-18 02:23:18 +0000
committererdgeist <>2007-01-18 02:23:18 +0000
commit2ee37881ff4b464a572eeb413bff6e7a8e2d4113 (patch)
tree96d7af8e961b47e70b76d6b95b36189336afba0c /testsuite.sh
parentc16330df6ac202197efa9964b7579b98e0571e0e (diff)
Rearranged code to try to read data as soon as socket is accepted, also raise backlog for listening socket
Diffstat (limited to 'testsuite.sh')
-rw-r--r--testsuite.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite.sh b/testsuite.sh
index e0981d1..e5bc7a4 100644
--- a/testsuite.sh
+++ b/testsuite.sh
@@ -1,7 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2 2
3while true; do 3while true; do
4 request_string="GET /announce?info_hash=0123456789012345678%$(printf %02X $(( $RANDOM & 0xf )) )&\ 4 request_string="GET /announce?info_hash=0123456789012345678%$(printf %02X $(( $RANDOM & 0xff )) )&\
5ip=10.1.1.$(( $RANDOM & 0xff ))&port=$(( $RANDOM & 0xff )) HTTP/1.0\n" 5ip=10.1.1.$(( $RANDOM & 0xff ))&port=$(( $RANDOM & 0xff )) HTTP/1.0\n"
6 6
7# echo -e $request_string 7# echo -e $request_string