mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-27 01:36:59 +01:00
Handle late handshake messages gracefully
This commit is contained in:
parent
2c41bd85e0
commit
990f9e428a
2 changed files with 38 additions and 4 deletions
|
|
@ -2097,13 +2097,28 @@ run_test "DTLS reassembly: fragmentation, nbio (openssl server)" \
|
|||
-c "found fragmented DTLS handshake message" \
|
||||
-C "error"
|
||||
|
||||
# Temporary test for ability to use the UDP proxy
|
||||
# Tests with UDP proxy emulating unreliable transport
|
||||
|
||||
run_test "DTLS proxy usability test" \
|
||||
run_test "DTLS proxy: reference" \
|
||||
-p "$P_PXY" \
|
||||
"$P_SRV dtls=1" \
|
||||
"$P_CLI dtls=1" \
|
||||
0
|
||||
0 \
|
||||
-c "HTTP/1.0 200 OK"
|
||||
|
||||
run_test "DTLS proxy: some duplication" \
|
||||
-p "$P_PXY duplicate=3" \
|
||||
"$P_SRV dtls=1" \
|
||||
"$P_CLI dtls=1" \
|
||||
0 \
|
||||
-c "HTTP/1.0 200 OK"
|
||||
|
||||
run_test "DTLS proxy: lots of duplication" \
|
||||
-p "$P_PXY duplicate=1" \
|
||||
"$P_SRV dtls=1" \
|
||||
"$P_CLI dtls=1" \
|
||||
0 \
|
||||
-c "HTTP/1.0 200 OK"
|
||||
|
||||
# Final report
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue