summaryrefslogtreecommitdiffstats
path: root/src/net_dot.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-12 08:40:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-12 08:40:57 +0000
commite2fdf6c58545799d7522fabf7a2999f113bf3541 (patch)
tree4eb7533bf42fa54fcc6a1b2396f1abdfe4102484 /src/net_dot.c
parentAdding upstream version 2.10.0. (diff)
downloaddnsperf-e2fdf6c58545799d7522fabf7a2999f113bf3541.tar.xz
dnsperf-e2fdf6c58545799d7522fabf7a2999f113bf3541.zip
Adding upstream version 2.11.0.upstream/2.11.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/net_dot.c')
-rw-r--r--src/net_dot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net_dot.c b/src/net_dot.c
index 9fd718d..7e58a73 100644
--- a/src/net_dot.c
+++ b/src/net_dot.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2022 OARC, Inc.
+ * Copyright 2019-2023 OARC, Inc.
* Copyright 2017-2018 Akamai Technologies
* Copyright 2006-2016 Nominum, Inc.
* All rights reserved.
@@ -177,6 +177,8 @@ static ssize_t perf__dot_recv(struct perf_net_socket* sock, void* buf, size_t le
break;
case SSL_ERROR_SYSCALL:
switch (errno) {
+ case EBADF:
+ // treat this as a retry, can happen if sendto is reconnecting
case ECONNREFUSED:
case ECONNRESET:
case ENOTCONN: