Lines Matching refs:resp_len
64 size_t resp_len; /* Length of response */ member
157 return rctx->resp_len; in OSSL_HTTP_REQ_CTX_get_resp_len()
220 rctx->resp_len = 0; in OSSL_HTTP_REQ_CTX_set_request_line()
515 if (rctx->resp_len != 0 && rctx->resp_len != len) { in check_set_resp_len()
518 len, rctx->resp_len); in check_set_resp_len()
521 rctx->resp_len = len; in check_set_resp_len()
549 size_t resp_len; in OSSL_HTTP_REQ_CTX_nbio() local
788 resp_len = (size_t)strtoul(value, &line_end, 10); in OSSL_HTTP_REQ_CTX_nbio()
795 if (!check_set_resp_len(rctx, resp_len)) in OSSL_HTTP_REQ_CTX_nbio()
889 resp_len = 0; in OSSL_HTTP_REQ_CTX_nbio()
891 resp_len <<= 8; in OSSL_HTTP_REQ_CTX_nbio()
892 resp_len |= *p++; in OSSL_HTTP_REQ_CTX_nbio()
894 resp_len += n + 2; in OSSL_HTTP_REQ_CTX_nbio()
896 resp_len = *p + 2; in OSSL_HTTP_REQ_CTX_nbio()
898 if (!check_set_resp_len(rctx, resp_len)) in OSSL_HTTP_REQ_CTX_nbio()
907 if (n < 0 || (size_t)n < rctx->resp_len) in OSSL_HTTP_REQ_CTX_nbio()