Lines Matching refs:rv
187 apr_status_t rv; in curltest_echo_handler() local
259 rv = ap_setup_client_block(r, REQUEST_CHUNKED_DECHUNK); in curltest_echo_handler()
260 if(rv) in curltest_echo_handler()
284 rv = apr_brigade_write(bb, NULL, NULL, buffer, l); in curltest_echo_handler()
285 if(APR_SUCCESS != rv) in curltest_echo_handler()
287 rv = ap_pass_brigade(r->output_filters, bb); in curltest_echo_handler()
288 if(APR_SUCCESS != rv) in curltest_echo_handler()
306 rv = ap_pass_brigade(r->output_filters, bb); in curltest_echo_handler()
309 if(rv == APR_SUCCESS || in curltest_echo_handler()
312 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, rv, r, "echo_handler: done"); in curltest_echo_handler()
317 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, rv, r, "echo_handler failed"); in curltest_echo_handler()
328 apr_status_t rv; in curltest_tweak_handler() local
404 rv = duration_parse(&delay, val, "s"); in curltest_tweak_handler()
405 if(APR_SUCCESS == rv) { in curltest_tweak_handler()
410 rv = duration_parse(&chunk_delay, val, "s"); in curltest_tweak_handler()
411 if(APR_SUCCESS == rv) { in curltest_tweak_handler()
416 rv = duration_parse(&close_delay, val, "s"); in curltest_tweak_handler()
417 if(APR_SUCCESS == rv) { in curltest_tweak_handler()
468 rv = ap_pass_brigade(r->output_filters, bb); in curltest_tweak_handler()
469 if(APR_SUCCESS != rv) in curltest_tweak_handler()
477 rv = apr_brigade_write(bb, NULL, NULL, buffer, chunk_size); in curltest_tweak_handler()
478 if(APR_SUCCESS != rv) in curltest_tweak_handler()
480 rv = ap_pass_brigade(r->output_filters, bb); in curltest_tweak_handler()
481 if(APR_SUCCESS != rv) in curltest_tweak_handler()
487 rv = body_error; in curltest_tweak_handler()
494 rv = ap_pass_brigade(r->output_filters, bb); in curltest_tweak_handler()
496 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, rv, r, in curltest_tweak_handler()
504 rv = ap_pass_brigade(r->output_filters, bb); in curltest_tweak_handler()
510 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, rv, r, in curltest_tweak_handler()
513 if(rv == APR_SUCCESS) { in curltest_tweak_handler()
517 http_status = ap_map_http_request_error(rv, HTTP_BAD_REQUEST); in curltest_tweak_handler()
519 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, rv, r, in curltest_tweak_handler()
533 apr_status_t rv; in curltest_put_handler() local
566 rv = duration_parse(&read_delay, val, "s"); in curltest_put_handler()
567 if(APR_SUCCESS == rv) { in curltest_put_handler()
572 rv = duration_parse(&chunk_delay, val, "s"); in curltest_put_handler()
573 if(APR_SUCCESS == rv) { in curltest_put_handler()
608 rv = ap_setup_client_block(r, REQUEST_CHUNKED_DECHUNK); in curltest_put_handler()
609 if(rv) in curltest_put_handler()
628 rv = apr_brigade_puts(bb, NULL, NULL, s_rbody_len); in curltest_put_handler()
629 if(APR_SUCCESS != rv) in curltest_put_handler()
635 rv = ap_pass_brigade(r->output_filters, bb); in curltest_put_handler()
642 if(rv == APR_SUCCESS in curltest_put_handler()
645 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, rv, r, "put_handler: done"); in curltest_put_handler()
650 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, rv, r, "put_handler failed"); in curltest_put_handler()
661 apr_status_t rv; in curltest_1_1_required() local
697 rv = ap_pass_brigade(r->output_filters, bb); in curltest_1_1_required()
698 if(APR_SUCCESS != rv) in curltest_1_1_required()
702 rv = apr_brigade_printf(bb, NULL, NULL, "well done!"); in curltest_1_1_required()
703 if(APR_SUCCESS != rv) in curltest_1_1_required()
709 rv = ap_pass_brigade(r->output_filters, bb); in curltest_1_1_required()
712 if(rv == APR_SUCCESS in curltest_1_1_required()
715 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, rv, r, "1_1_handler: done"); in curltest_1_1_required()
720 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, rv, r, "1_1_handler failed"); in curltest_1_1_required()
741 apr_status_t rv; in curltest_sslinfo_handler() local
810 rv = ap_pass_brigade(r->output_filters, bb); in curltest_sslinfo_handler()
811 if(APR_SUCCESS != rv) in curltest_sslinfo_handler()
819 rv = ap_pass_brigade(r->output_filters, bb); in curltest_sslinfo_handler()
824 if(rv == APR_SUCCESS in curltest_sslinfo_handler()
827 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, rv, r, "1_1_handler: done"); in curltest_sslinfo_handler()
832 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, rv, r, "1_1_handler failed"); in curltest_sslinfo_handler()