Fix too fast closing of con->out (skipped mod-deflate), rely on closed vr->out instead

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent 7133bae151
commit 6702e1413b
  1. 4
      src/main/response.c

@ -38,10 +38,6 @@ gboolean li_response_send_headers(liConnection *con) {
li_response_send_error_page(con);
}
if (con->mainvr->backend == NULL) {
con->out->is_closed = TRUE;
}
if ((vr->response.http_status >= 100 && vr->response.http_status < 200) ||
vr->response.http_status == 204 ||
vr->response.http_status == 205 ||

Loading…
Cancel
Save