Lines Matching refs:wbio
47 int free_wbio; /* wbio allocated internally, free with ctx */
48 BIO *wbio; /* BIO to write/send request to */
90 OSSL_HTTP_REQ_CTX *OSSL_HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int buf_size)
94 if (wbio == NULL || rbio == NULL) {
104 rctx->wbio = wbio;
125 BIO_free_all(rctx->wbio);
364 static OSSL_HTTP_REQ_CTX *http_req_ctx_new(int free_wbio, BIO *wbio, BIO *rbio,
371 OSSL_HTTP_REQ_CTX *rctx = OSSL_HTTP_REQ_CTX_new(wbio, rbio, buf_size);
525 if (rctx->mem == NULL || rctx->wbio == NULL || rctx->rbio == NULL) {
574 /* Copy some chunk of data from rctx->mem to rctx->wbio */
576 /* Copy some chunk of data from rctx->req to rctx->wbio */
579 i = BIO_write(rctx->wbio, rctx->pos, rctx->len_to_send);
581 if (BIO_should_retry(rctx->wbio))
611 i = BIO_flush(rctx->wbio);
618 if (BIO_should_retry(rctx->wbio))
1241 BIO *wbio;
1246 wbio = (*rctx->upd_fn)(rctx->wbio, rctx->upd_arg,
1248 ret = wbio != NULL;
1250 rctx->wbio = wbio;