fixed bug for Windows build

This commit is contained in:
John Safranek
2012-09-21 16:36:48 -07:00
parent ce2c76fd42
commit 9643e58dad
2 changed files with 6 additions and 1 deletions

View File

@@ -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;