fixed a minor ssl handling issue
This commit is contained in:
parent
52071e8ab0
commit
0ae8ba8f28
@ -1765,7 +1765,8 @@ static int client_accepted (qse_httpd_t* httpd, qse_httpd_client_t* client)
|
|||||||
if (ret <= 0)
|
if (ret <= 0)
|
||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
if ((err = SSL_get_error(ssl,ret)) == SSL_ERROR_WANT_READ)
|
err = SSL_get_error(ssl,ret);
|
||||||
|
if (err == SSL_ERROR_WANT_READ || err == SSL_ERROR_WANT_WRITE)
|
||||||
{
|
{
|
||||||
/* handshaking isn't complete. */
|
/* handshaking isn't complete. */
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user