Only auto-retry for DTLS if configured to do so
authorMatt Caswell <matt@openssl.org>
Thu, 3 May 2018 15:00:05 +0000 (16:00 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 8 May 2018 08:40:17 +0000 (09:40 +0100)
commitad962252857aac4350139fdbb6c8e3e6b0bdad7b
tree20004db5bc4488fe787142b575b93b27b7526afe
parent6f6da2fe1710842c37c73ed2b114cf6942221db6
Only auto-retry for DTLS if configured to do so

Otherwise we may end up in a hang when using blocking sockets

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6170)
ssl/record/rec_layer_d1.c