mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 13:39:25 +00:00
Add proxy tests with gnutls-srv & fragmentation
This commit is contained in:
parent
fa60f128d6
commit
9590e0a176
1 changed files with 29 additions and 2 deletions
|
@ -2317,8 +2317,8 @@ run_test "DTLS proxy: 3d, min handshake, client-initiated renegotiation" \
|
||||||
-s "Extra-header:" \
|
-s "Extra-header:" \
|
||||||
-c "HTTP/1.0 200 OK"
|
-c "HTTP/1.0 200 OK"
|
||||||
|
|
||||||
needs_more_time 2
|
needs_more_time 3
|
||||||
run_test "DTLS proxy: 3d, max handshake, openssl server" \
|
run_test "DTLS proxy: 3d, openssl server" \
|
||||||
-p "$P_PXY drop=5 delay=5 duplicate=5 protect_hvr=1" \
|
-p "$P_PXY drop=5 delay=5 duplicate=5 protect_hvr=1" \
|
||||||
"$O_SRV -dtls1 -mtu 2048" \
|
"$O_SRV -dtls1 -mtu 2048" \
|
||||||
"$P_CLI dtls=1" \
|
"$P_CLI dtls=1" \
|
||||||
|
@ -2326,6 +2326,33 @@ run_test "DTLS proxy: 3d, max handshake, openssl server" \
|
||||||
-s "Extra-header:" \
|
-s "Extra-header:" \
|
||||||
-c "HTTP/1.0 200 OK"
|
-c "HTTP/1.0 200 OK"
|
||||||
|
|
||||||
|
needs_more_time 4
|
||||||
|
run_test "DTLS proxy: 3d, openssl server, fragmentation" \
|
||||||
|
-p "$P_PXY drop=5 delay=5 duplicate=5 protect_hvr=1" \
|
||||||
|
"$O_SRV -dtls1 -mtu 768" \
|
||||||
|
"$P_CLI dtls=1" \
|
||||||
|
0 \
|
||||||
|
-s "Extra-header:" \
|
||||||
|
-c "HTTP/1.0 200 OK"
|
||||||
|
|
||||||
|
needs_more_time 3
|
||||||
|
run_test "DTLS proxy: 3d, gnutls server" \
|
||||||
|
-p "$P_PXY drop=5 delay=5 duplicate=5" \
|
||||||
|
"$G_SRV -u --mtu 2048 -a" \
|
||||||
|
"$P_CLI dtls=1" \
|
||||||
|
0 \
|
||||||
|
-s "Extra-header:" \
|
||||||
|
-c "Extra-header:"
|
||||||
|
|
||||||
|
needs_more_time 4
|
||||||
|
run_test "DTLS proxy: 3d, gnutls server, fragmentation" \
|
||||||
|
-p "$P_PXY drop=5 delay=5 duplicate=5" \
|
||||||
|
"$G_SRV -u --mtu 512" \
|
||||||
|
"$P_CLI dtls=1" \
|
||||||
|
0 \
|
||||||
|
-s "Extra-header:" \
|
||||||
|
-c "Extra-header:"
|
||||||
|
|
||||||
# Final report
|
# Final report
|
||||||
|
|
||||||
echo "------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------"
|
||||||
|
|
Loading…
Reference in a new issue