]> granicus.if.org Git - openssl/commit
BIO_lookup_ex: Do not retry on EAI_MEMORY
authorTomas Mraz <tmraz@fedoraproject.org>
Mon, 12 Aug 2019 14:43:59 +0000 (16:43 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Tue, 13 Aug 2019 09:40:55 +0000 (11:40 +0200)
commit91cb81d40a8102c3d8667629661be8d6937db82b
tree05864c84ed8b4309334715ba368a690a3c47f66c
parent7f616a00e9232392927099dca1eca70d0d058665
BIO_lookup_ex: Do not retry on EAI_MEMORY

We should not retry on EAI_MEMORY as that error is most probably
fatal and not depending on AI_ADDRCONFIG hint.

Also report the error from the first call if the second call fails
as that one would be most probably the more interesting one.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9535)
crypto/bio/b_addr.c