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:
0db8f86
)
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:28:20 +0000
(10:28 +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)
(cherry picked from commit
0b885f72c2b18c57173e134a03ed013cd1ac361e
)
ssl/statem/statem_srvr.c
patch
|
blob
|
history
diff --git
a/ssl/statem/statem_srvr.c
b/ssl/statem/statem_srvr.c
index 6b8aae62ccd835c3b5f718f1d6bee839ceeb8a2a..d454326a9971f5866ff6e32e06d2318c22662bbd 100644
(file)
--- a/
ssl/statem/statem_srvr.c
+++ b/
ssl/statem/statem_srvr.c
@@
-774,6
+774,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;