fix fd leak in static action when 304 is returned

personal/stbuehler/wip
Thomas Porzelt 14 years ago
parent 0e03d1a362
commit 7dd842229f
  1. 1
      src/plugin_core.c

@ -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;
}

Loading…
Cancel
Save