projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3c6242
)
conn_is_closed should return 1 if get_last_sys_error is WSAECONNRESET
author
Paul Monson
<paulmon@microsoft.com>
Tue, 26 Mar 2019 22:25:19 +0000
(15:25 -0700)
committer
Matt Caswell
<matt@openssl.org>
Thu, 28 Mar 2019 10:22:20 +0000
(10:22 +0000)
CLA: trivial
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8590)
ssl/statem/statem_srvr.c
patch
|
blob
|
history
diff --git
a/ssl/statem/statem_srvr.c
b/ssl/statem/statem_srvr.c
index e482e2d074824f111170a2b8c895ffc4b52209c2..781efd236e03fe6da3437530dfd2f27f2675292a 100644
(file)
--- a/
ssl/statem/statem_srvr.c
+++ b/
ssl/statem/statem_srvr.c
@@
-775,6
+775,10
@@
static ossl_inline int conn_is_closed(void)
#if defined(ECONNRESET)
case ECONNRESET:
return 1;
+#endif
+#if defined(WSAECONNRESET)
+ case WSAECONNRESET:
+ return 1;
#endif
default:
return 0;