Lines Matching refs:status

102 int http_response_redirect_to_directory(request_st * const r, int status) {  in http_response_redirect_to_directory()  argument
114 if (status >= 300) { in http_response_redirect_to_directory()
115 r->http_status = status; in http_response_redirect_to_directory()
426 const int status = r->http_status; in http_response_xsendfile() local
475 if (r->http_status >= 400 && status < 300) { in http_response_xsendfile()
477 } else if (0 != status && 200 != status) { in http_response_xsendfile()
478 r->http_status = status; in http_response_xsendfile()
486 const int status = r->http_status; in http_response_xsendfile2() local
606 if (r->http_status >= 400 && status < 300) { in http_response_xsendfile2()
608 } else if (0 != status && 200 != status) { in http_response_xsendfile2()
609 r->http_status = status; in http_response_xsendfile2()
862 int status = http_header_str_to_code(s+9); in http_response_process_headers() local
863 if (status >= 100 && status < 1000) { in http_response_process_headers()
865 status = 200;/* http_header_str_to_code() validates, untaints */ in http_response_process_headers()
867 r->http_status = status; in http_response_process_headers()
910 int status = http_header_str_to_code(value); in http_response_process_headers() local
911 if (status >= 100 && status < 1000) { in http_response_process_headers()
913 status = 200;/* http_header_str_to_code() validates */ in http_response_process_headers()
915 r->http_status = status; in http_response_process_headers()
934 int status = http_header_str_to_code(value); in http_response_process_headers() local
935 if (status >= 100 && status < 1000) { in http_response_process_headers()
937 status = 200;/* http_header_str_to_code() validates */ in http_response_process_headers()
939 r->http_status = status; in http_response_process_headers()