Lines Matching refs:reason
2801 evhttp_send_error(struct evhttp_request *req, int error, const char *reason) in evhttp_send_error() argument
2816 if (reason == NULL) { in evhttp_send_error()
2817 reason = evhttp_response_phrase_internal(error); in evhttp_send_error()
2820 evhttp_response_code_(req, error, reason); in evhttp_send_error()
2822 evbuffer_add_printf(buf, ERR_FORMAT, error, reason, reason); in evhttp_send_error()
2858 evhttp_send_reply(struct evhttp_request *req, int code, const char *reason, in evhttp_send_reply() argument
2861 evhttp_response_code_(req, code, reason); in evhttp_send_reply()
2868 const char *reason) in evhttp_send_reply_start() argument
2870 evhttp_response_code_(req, code, reason); in evhttp_send_reply_start()
3046 evhttp_response_code_(struct evhttp_request *req, int code, const char *reason) in evhttp_response_code_() argument
3052 if (reason == NULL) in evhttp_response_code_()
3053 reason = evhttp_response_phrase_internal(code); in evhttp_response_code_()
3054 req->response_code_line = mm_strdup(reason); in evhttp_response_code_()