use heavy task by default

This commit is contained in:
lxsang 2018-10-15 12:34:49 +02:00
parent 58443ae2e9
commit 882b7cb653

View File

@ -219,7 +219,6 @@ void *accept_request(void *data)
return task;
}
}
client->attempt = 0;
client->status = 1;
task->handle = accept_request;
return task;
@ -233,6 +232,7 @@ void *accept_request(void *data)
}
}
#endif
client->attempt = 0;
server_config.connection++;
read_buf(rq->client, buf, sizeof(buf));
line = buf;