2
0
Fork 0

vr->handle_response_body was replaced with vr->backend (and is used for something else now)

This commit is contained in:
Stefan Bühler 2009-08-31 18:09:19 +02:00
parent ebedf9c981
commit b32c74a180
1 changed files with 2 additions and 2 deletions

View File

@ -33,14 +33,14 @@ void li_response_send_headers(liConnection *con) {
head = g_string_sized_new(8*1024-1);
if (0 == con->out->length && con->mainvr->handle_response_body == NULL
if (0 == con->out->length && con->mainvr->backend == NULL
&& vr->response.http_status >= 400 && vr->response.http_status < 600) {
/*li_chunkqueue_append_mem(con->out, CONST_STR_LEN("Custom error\r\n"));*/
li_response_send_error_page(con);
}
if (con->mainvr->handle_response_body == NULL) {
if (con->mainvr->backend == NULL) {
con->out->is_closed = TRUE;
}