Lines Matching refs:http_status

48 			r->http_status = 500;  in http_response_buffer_append_authority()
82 r->http_status = 500; in http_response_buffer_append_authority()
115 r->http_status = status; in http_response_redirect_to_directory()
215 r->http_status = 304; in http_response_handle_cachable()
218 r->http_status = 412; in http_response_handle_cachable()
232 r->http_status = 304; in http_response_handle_cachable()
268 r->http_status = 0; in http_response_header_clear()
290 r->http_status = 0; in http_response_reset()
307 handler_t http_response_reqbody_read_error (request_st * const r, int http_status) { in http_response_reqbody_read_error() argument
314 r->http_status = http_status; in http_response_reqbody_read_error()
325 r->http_status = (errno == ENOENT) ? 404 : 403; in http_response_send_file()
331 r->http_status = (errno == ENOENT) ? 404 : 403; in http_response_send_file()
342 r->http_status = 403; in http_response_send_file()
354 r->http_status = 403; in http_response_send_file()
381 && (0 == r->http_status || 200 == r->http_status); in http_response_send_file()
411 r->http_status = 200; in http_response_send_file()
420 r->http_status = 500; in http_response_send_file()
426 const int status = r->http_status; in http_response_xsendfile()
442 if (r->http_status < 400) { in http_response_xsendfile()
443 r->http_status = 502; in http_response_xsendfile()
453 r->http_status = 502; in http_response_xsendfile()
468 r->http_status = 403; in http_response_xsendfile()
475 if (r->http_status >= 400 && status < 300) { in http_response_xsendfile()
478 r->http_status = status; in http_response_xsendfile()
486 const int status = r->http_status; in http_response_xsendfile2()
507 r->http_status = 502; in http_response_xsendfile2()
519 r->http_status = 502; in http_response_xsendfile2()
527 r->http_status = 502; in http_response_xsendfile2()
538 r->http_status = 403; in http_response_xsendfile2()
548 r->http_status = 404; in http_response_xsendfile2()
553 r->http_status = 502; in http_response_xsendfile2()
580 r->http_status = 502; in http_response_xsendfile2()
590 r->http_status = 502; in http_response_xsendfile2()
596 r->http_status = 502; in http_response_xsendfile2()
606 if (r->http_status >= 400 && status < 300) { in http_response_xsendfile2()
609 r->http_status = status; in http_response_xsendfile2()
633 if (r->http_status < 500 && r->http_status != 400) in http_response_backend_done()
634 r->http_status = 500; in http_response_backend_done()
867 r->http_status = status; in http_response_process_headers()
873 if (0 == r->http_status) { in http_response_process_headers()
876 r->http_status = 502; /* Bad Gateway */ in http_response_process_headers()
883 r->http_status = 502; /* Bad Gateway */ in http_response_process_headers()
907 if (opts->authorizer && (0 == r->http_status || 200 == r->http_status)){ in http_response_process_headers()
915 r->http_status = status; in http_response_process_headers()
919 r->http_status = 502; /* Bad Gateway */ in http_response_process_headers()
939 r->http_status = status; in http_response_process_headers()
943 r->http_status = 502; in http_response_process_headers()
1033 if (0 == r->http_status && light_btst(r->resp_htags, HTTP_HEADER_LOCATION)){ in http_response_process_headers()
1034 r->http_status = 302; in http_response_process_headers()
1077 if (0 == r->http_status || 101 == r->http_status) in http_response_check_1xx()
1130 r->http_status = 502; /* Bad Gateway */ in http_response_parse_headers()
1149 r->http_status = 200; /* OK */ in http_response_parse_headers()
1155 r->http_status = 502; /* Bad Gateway */ in http_response_parse_headers()
1172 } while (r->http_status < 200 in http_response_parse_headers()
1178 && (r->http_status == 0 || r->http_status == 200)) { in http_response_parse_headers()
1186 if (opts->local_redir && r->http_status >= 300 && r->http_status < 400 in http_response_parse_headers()