2
0
Fork 0

fix fd leak in static action when 304 is returned

personal/stbuehler/wip
Thomas Porzelt 2009-03-18 04:12:51 +01:00
parent 0e03d1a362
commit 7dd842229f
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ static handler_t core_handle_static(vrequest *vr, gpointer param, gpointer *cont
etag_set_header(vr, &sce->data.st, &cachable);
if (cachable) {
vr->response.http_status = 304;
close(fd);
return HANDLER_GO_ON;
}