mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 00:38:21 +01:00
fix deadlock
This commit is contained in:
parent
64e912ab6e
commit
b0bbff1556
@ -190,7 +190,7 @@ void *accept_request(void *data)
|
|||||||
if (server_config.usessl == 1 && client->status == 0)
|
if (server_config.usessl == 1 && client->status == 0)
|
||||||
{
|
{
|
||||||
if(client->attempt > MAX_ATTEMPT) return task;
|
if(client->attempt > MAX_ATTEMPT) return task;
|
||||||
LOG("Atttempt %d\n", client->attempt);
|
//LOG("Atttempt %d\n", client->attempt);
|
||||||
if (SSL_accept((SSL *)client->ssl) == -1)
|
if (SSL_accept((SSL *)client->ssl) == -1)
|
||||||
{
|
{
|
||||||
client->attempt++;
|
client->attempt++;
|
||||||
|
Loading…
Reference in New Issue
Block a user