forked from mirrors/kore
Immediately remove completed HTTP requests.
No need to wait until the next time http_process() is called, which could result in HTTP requests backing up even though we are processing them at a fast pace.
This commit is contained in:
parent
07fc7a9097
commit
88553cd2dd
|
@ -313,6 +313,9 @@ http_process(void)
|
|||
|
||||
http_process_request(req);
|
||||
total += req->ms;
|
||||
|
||||
if (req->flags & HTTP_REQUEST_DELETE)
|
||||
http_request_free(req);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue