mirror of
https://github.com/lxsang/ant-http
synced 2024-11-17 17:08:20 +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(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)
|
||||
{
|
||||
client->attempt++;
|
||||
|
Loading…
Reference in New Issue
Block a user