mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 16:58:22 +01:00
fix bug on access_time is not update after long body
This commit is contained in:
parent
c7e9d2a579
commit
3d4b602884
@ -1471,6 +1471,11 @@ void *decode_multi_part_request_data(void *data)
|
|||||||
}
|
}
|
||||||
free(part_name);
|
free(part_name);
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* The upload procedure may take time, the task access time should be updated
|
||||||
|
* after the procedure finish
|
||||||
|
*/
|
||||||
|
task->access_time = rq->client->last_io;
|
||||||
// check if end of request
|
// check if end of request
|
||||||
if (line && strstr(line, boundend))
|
if (line && strstr(line, boundend))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user