Lines Matching refs:bb
185 apr_bucket_brigade *bb; in curltest_echo_handler() local
257 bb = apr_brigade_create(r->pool, c->bucket_alloc); in curltest_echo_handler()
277 ap_pass_brigade(r->output_filters, bb); in curltest_echo_handler()
284 rv = apr_brigade_write(bb, NULL, NULL, buffer, l); in curltest_echo_handler()
287 rv = ap_pass_brigade(r->output_filters, bb); in curltest_echo_handler()
296 APR_BRIGADE_INSERT_TAIL(bb, b); in curltest_echo_handler()
306 rv = ap_pass_brigade(r->output_filters, bb); in curltest_echo_handler()
326 apr_bucket_brigade *bb; in curltest_tweak_handler() local
457 bb = apr_brigade_create(r->pool, c->bucket_alloc); in curltest_tweak_handler()
467 APR_BRIGADE_INSERT_TAIL(bb, b); in curltest_tweak_handler()
468 rv = ap_pass_brigade(r->output_filters, bb); in curltest_tweak_handler()
477 rv = apr_brigade_write(bb, NULL, NULL, buffer, chunk_size); in curltest_tweak_handler()
480 rv = ap_pass_brigade(r->output_filters, bb); in curltest_tweak_handler()
493 APR_BRIGADE_INSERT_TAIL(bb, b); in curltest_tweak_handler()
494 rv = ap_pass_brigade(r->output_filters, bb); in curltest_tweak_handler()
495 apr_brigade_cleanup(bb); in curltest_tweak_handler()
503 APR_BRIGADE_INSERT_TAIL(bb, b); in curltest_tweak_handler()
504 rv = ap_pass_brigade(r->output_filters, bb); in curltest_tweak_handler()
505 apr_brigade_cleanup(bb); in curltest_tweak_handler()
522 APR_BRIGADE_INSERT_TAIL(bb, b); in curltest_tweak_handler()
523 ap_pass_brigade(r->output_filters, bb); in curltest_tweak_handler()
531 apr_bucket_brigade *bb; in curltest_put_handler() local
606 bb = apr_brigade_create(r->pool, c->bucket_alloc); in curltest_put_handler()
628 rv = apr_brigade_puts(bb, NULL, NULL, s_rbody_len); in curltest_put_handler()
632 APR_BRIGADE_INSERT_TAIL(bb, b); in curltest_put_handler()
635 rv = ap_pass_brigade(r->output_filters, bb); in curltest_put_handler()
659 apr_bucket_brigade *bb; in curltest_1_1_required() local
693 bb = apr_brigade_create(r->pool, c->bucket_alloc); in curltest_1_1_required()
696 APR_BRIGADE_INSERT_TAIL(bb, b); in curltest_1_1_required()
697 rv = ap_pass_brigade(r->output_filters, bb); in curltest_1_1_required()
702 rv = apr_brigade_printf(bb, NULL, NULL, "well done!"); in curltest_1_1_required()
706 APR_BRIGADE_INSERT_TAIL(bb, b); in curltest_1_1_required()
709 rv = ap_pass_brigade(r->output_filters, bb); in curltest_1_1_required()
726 static int brigade_env_var(request_rec *r, apr_bucket_brigade *bb, in brigade_env_var() argument
732 return apr_brigade_printf(bb, NULL, NULL, ",\n \"%s\": \"%s\"", name, s); in brigade_env_var()
739 apr_bucket_brigade *bb; in curltest_sslinfo_handler() local
794 bb = apr_brigade_create(r->pool, c->bucket_alloc); in curltest_sslinfo_handler()
796 apr_brigade_puts(bb, NULL, NULL, "{\n \"Name\": \"SSL-Information\""); in curltest_sslinfo_handler()
797 brigade_env_var(r, bb, "HTTPS"); in curltest_sslinfo_handler()
798 brigade_env_var(r, bb, "SSL_PROTOCOL"); in curltest_sslinfo_handler()
799 brigade_env_var(r, bb, "SSL_CIPHER"); in curltest_sslinfo_handler()
800 brigade_env_var(r, bb, "SSL_SESSION_ID"); in curltest_sslinfo_handler()
801 brigade_env_var(r, bb, "SSL_SESSION_RESUMED"); in curltest_sslinfo_handler()
802 brigade_env_var(r, bb, "SSL_SRP_USER"); in curltest_sslinfo_handler()
803 brigade_env_var(r, bb, "SSL_SRP_USERINFO"); in curltest_sslinfo_handler()
804 brigade_env_var(r, bb, "SSL_TLS_SNI"); in curltest_sslinfo_handler()
805 apr_brigade_puts(bb, NULL, NULL, "}\n"); in curltest_sslinfo_handler()
809 APR_BRIGADE_INSERT_TAIL(bb, b); in curltest_sslinfo_handler()
810 rv = ap_pass_brigade(r->output_filters, bb); in curltest_sslinfo_handler()
816 APR_BRIGADE_INSERT_TAIL(bb, b); in curltest_sslinfo_handler()
819 rv = ap_pass_brigade(r->output_filters, bb); in curltest_sslinfo_handler()