mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-02-04 02:45:04 +01:00
fixed bug for Windows build
This commit is contained in:
@@ -1588,6 +1588,11 @@ retry:
|
||||
return WANT_READ;
|
||||
|
||||
case IO_ERR_CONN_RST: /* connection reset */
|
||||
#ifdef USE_WINDOWS_API
|
||||
if (ssl->options.dtls) {
|
||||
return WANT_READ;
|
||||
}
|
||||
#endif
|
||||
ssl->options.connReset = 1;
|
||||
return -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user