Lines Matching refs:req
57 BIO *req; /* BIO holding the request provided by caller */
128 BIO_free(rctx->req);
267 const char *content_type, BIO *req)
274 if (rctx == NULL || (req == NULL && content_type != NULL)) {
283 BIO_free(rctx->req);
284 rctx->req = NULL;
285 if (req == NULL)
300 if (BIO_method_type(req) == BIO_TYPE_FILE) {
302 if (BIO_get_fp(req, &fp) == 1 && fseek(fp, 0, SEEK_END) == 0) {
310 req_len = BIO_ctrl(req, BIO_CTRL_INFO, 0, NULL);
324 if (!BIO_up_ref(req))
326 rctx->req = req;
331 const ASN1_ITEM *it, const ASN1_VALUE *req)
336 if (req != NULL)
337 res = (mem = ASN1_item_i2d_mem_bio(it, req)) != NULL;
576 /* Copy some chunk of data from rctx->req to rctx->wbio */
594 if (rctx->req != NULL && !BIO_eof(rctx->req)) {
595 n = BIO_read(rctx->req, rctx->buf, rctx->buf_size);
597 if (BIO_should_retry(rctx->req))
1006 const char *content_type, BIO *req,
1023 return OSSL_HTTP_REQ_CTX_set_request_line(rctx, req != NULL,
1029 && set1_content(rctx, content_type, req);
1148 NULL /* req */,
1208 const char *content_type, BIO *req,
1222 if (OSSL_HTTP_set1_request(rctx, path, headers, content_type, req,