Lines Matching refs:wbio
125 BIO *wbio = BIO_new(BIO_s_mem()); in test_http_method() local
149 if (wbio == NULL || rbio == NULL || req == NULL) in test_http_method()
154 BIO_set_callback_ex(wbio, http_bio_cb_ex); in test_http_method()
155 BIO_set_callback_arg(wbio, (char *)&mock_args); in test_http_method()
161 real_server ? NULL : wbio, in test_http_method()
170 wbio, rbio, NULL /* bio_fn */, NULL /* arg */, in test_http_method()
199 BIO_free(wbio); in test_http_method()
207 BIO *wbio = BIO_new(BIO_s_mem()); in test_http_keep_alive() local
215 if (wbio == NULL || rbio == NULL) in test_http_keep_alive()
221 BIO_set_callback_ex(wbio, http_bio_cb_ex); in test_http_keep_alive()
222 BIO_set_callback_arg(wbio, (char *)&mock_args); in test_http_keep_alive()
228 wbio, rbio, NULL /* bio_update_fn */, NULL, in test_http_keep_alive()
247 BIO_free(wbio); in test_http_keep_alive()
421 BIO *wbio = BIO_new(BIO_s_mem()); in test_http_resp_hdr_limit() local
428 if (TEST_ptr(wbio) == 0 || TEST_ptr(rbio) == 0) in test_http_resp_hdr_limit()
436 BIO_set_callback_ex(wbio, http_bio_cb_ex); in test_http_resp_hdr_limit()
437 BIO_set_callback_arg(wbio, (char *)&mock_args); in test_http_resp_hdr_limit()
439 rctx = OSSL_HTTP_REQ_CTX_new(wbio, rbio, 8192); in test_http_resp_hdr_limit()
460 BIO_free(wbio); in test_http_resp_hdr_limit()