diff options
Diffstat (limited to 'crypto/http')
-rw-r--r-- | crypto/http/http_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/http/http_client.c b/crypto/http/http_client.c index 48a2e12976..aa76ca1972 100644 --- a/crypto/http/http_client.c +++ b/crypto/http/http_client.c @@ -567,7 +567,7 @@ int OSSL_HTTP_REQ_CTX_nbio(OSSL_HTTP_REQ_CTX *rctx) if (rctx->req != NULL && !BIO_eof(rctx->req)) { n = BIO_read(rctx->req, rctx->buf, rctx->buf_size); if (n <= 0) { - if (BIO_should_retry(rctx->rbio)) + if (BIO_should_retry(rctx->req)) return -1; ERR_raise(ERR_LIB_HTTP, HTTP_R_FAILED_READING_DATA); return 0; |