Lines Matching refs:http_status
119 if (304 == r->http_status in http_response_write_header()
135 http_status_append(b, r->http_status); in http_response_write_header()
199 r->http_status = code; in http_response_physical_path_error()
232 r->http_status = 200; in http_response_physical_path_check()
336 r->http_status = status; in http_status_set_error_close()
342 r->http_status = 200; in http_response_prepare_options_star()
394 if (__builtin_expect( (r->http_status > 200), 0)) { /* yes, > 200 */ in http_response_prepare()
553 if (__builtin_expect( (0 == r->http_status), 0)) { in http_response_prepare()
563 r->http_status = 501; in http_response_prepare()
565 r->http_status = 403; in http_response_prepare()
617 if (401 == r->http_status) { in http_response_errdoc_init()
653 buffer_append_int(&r->physical.path, r->http_status); in http_response_static_errdoc()
677 http_status_append(b, r->http_status); in http_response_static_errdoc()
683 http_status_append(b, r->http_status); in http_response_static_errdoc()
709 if (done < 400 && r->http_status >= 400) return; in http_response_merge_trailers()
739 switch (r->http_status) { in http_response_write_prepare()
754 if (r->http_status >= 400 && r->http_status < 600) in http_response_write_prepare()
775 if (r->conf.range_requests && r->http_status == 200 in http_response_write_prepare()
802 && r->http_status != 204 && r->http_status != 304) { in http_response_write_prepare()
828 if (r->http_method == HTTP_METHOD_CONNECT && r->http_status == 200){ in http_response_write_prepare()
895 r->http_status); in http_response_call_error_handler()
908 r->error_handler_saved_status = r->http_status; in http_response_call_error_handler()
914 r->error_handler_saved_status = -r->http_status; in http_response_call_error_handler()
922 r->http_status = 0; /*(after http_response_errdoc_init())*/ in http_response_call_error_handler()
936 const int subreq_status = r->http_status; in http_response_has_error_handler()
938 r->http_status = r->error_handler_saved_status; in http_response_has_error_handler()
939 else if (r->http_status == 404 || r->http_status == 403) in http_response_has_error_handler()
941 r->http_status = -r->error_handler_saved_status; in http_response_has_error_handler()
952 else if (__builtin_expect( (r->http_status >= 400), 0)) { in http_response_has_error_handler()
956 else if ((r->http_status == 404 || r->http_status == 403) in http_response_has_error_handler()
991 if (r->http_status == 0) r->http_status = 200; in http_response_handler()
992 if ((__builtin_expect( (r->http_status < 400), 1) in http_response_handler()