mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 09:19:20 +00:00
Rm now useless MTU setting in compat.sh
This commit is contained in:
parent
7a66cbca75
commit
36795197d9
1 changed files with 3 additions and 4 deletions
|
@ -728,11 +728,11 @@ setup_arguments()
|
||||||
;;
|
;;
|
||||||
"dtls1")
|
"dtls1")
|
||||||
G_PRIO_MODE="+VERS-DTLS1.0"
|
G_PRIO_MODE="+VERS-DTLS1.0"
|
||||||
G_MODE="-u --mtu 16383" # we don't handle HS fragmentation yet
|
G_MODE="-u"
|
||||||
;;
|
;;
|
||||||
"dtls1_2")
|
"dtls1_2")
|
||||||
G_PRIO_MODE="+VERS-DTLS1.2"
|
G_PRIO_MODE="+VERS-DTLS1.2"
|
||||||
G_MODE="-u --mtu 16383" # we don't handle HS fragmentation yet
|
G_MODE="-u"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "error: invalid mode: $MODE" >&2
|
echo "error: invalid mode: $MODE" >&2
|
||||||
|
@ -746,8 +746,7 @@ setup_arguments()
|
||||||
|
|
||||||
# with OpenSSL 1.0.1h, -www, -WWW and -HTTP break DTLS handshakes
|
# with OpenSSL 1.0.1h, -www, -WWW and -HTTP break DTLS handshakes
|
||||||
if is_dtls "$MODE"; then
|
if is_dtls "$MODE"; then
|
||||||
# temporary until we support handshake fragmentation
|
O_SERVER_ARGS="$O_SERVER_ARGS"
|
||||||
O_SERVER_ARGS="$O_SERVER_ARGS -mtu 16383"
|
|
||||||
else
|
else
|
||||||
O_SERVER_ARGS="$O_SERVER_ARGS -www"
|
O_SERVER_ARGS="$O_SERVER_ARGS -www"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue