Only drop the first Nth packet, not every

pull/6721/head
Andras Fekete 2023-08-21 09:52:34 -04:00
parent bf438c85e1
commit 307ce9d623
1 changed files with 2 additions and 2 deletions

View File

@ -76,8 +76,8 @@ run_test() { # usage: run_test "<testName>" "<udp-proxy args>" "<server args>" "
}
test_dropping_packets () {
for i in $(seq 3 11);do
run_test "Dropping ${i}th packet" "-d $i" "-Ta" ""
for i in $(seq 0 11);do
run_test "Dropping ${i}th packet" "-f $i" "-Ta" ""
done
# dropping last ack would be client error as wolfssl_read doesn't support WANT_WRITE as returned error