forked from wolfSSL/wolfssl
Only drop the first Nth packet, not every
This commit is contained in:
@ -76,8 +76,8 @@ run_test() { # usage: run_test "<testName>" "<udp-proxy args>" "<server args>" "
|
|||||||
}
|
}
|
||||||
|
|
||||||
test_dropping_packets () {
|
test_dropping_packets () {
|
||||||
for i in $(seq 3 11);do
|
for i in $(seq 0 11);do
|
||||||
run_test "Dropping ${i}th packet" "-d $i" "-Ta" ""
|
run_test "Dropping ${i}th packet" "-f $i" "-Ta" ""
|
||||||
done
|
done
|
||||||
|
|
||||||
# dropping last ack would be client error as wolfssl_read doesn't support WANT_WRITE as returned error
|
# dropping last ack would be client error as wolfssl_read doesn't support WANT_WRITE as returned error
|
||||||
|
Reference in New Issue
Block a user