mirror of
https://github.com/lxsang/ant-http
synced 2024-11-17 17:08:20 +01:00
fix ssl initialisation bug
This commit is contained in:
parent
dab7e28903
commit
d0df213164
@ -20,7 +20,7 @@ void accept_request(void* client)
|
||||
//char *query_string = NULL;
|
||||
//LOG("SOCK IS %d\n", ((antd_client_t*)client)->sock);
|
||||
numchars = read_buf(client, buf, sizeof(buf));
|
||||
if(numchars < 0)
|
||||
if(numchars <= 0)
|
||||
{
|
||||
unknow(client);
|
||||
goto end;
|
||||
|
Loading…
Reference in New Issue
Block a user