OSSL_HTTP_REQ_CTX_nbio(): Revert to having state var that keeps req len still to...
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 25 Jan 2021 15:18:40 +0000 (16:18 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Tue, 2 Feb 2021 06:54:37 +0000 (07:54 +0100)
commit673474b1640a0265530ad42868d1c8b7d33bef77
tree50b286a7087dc0905e32c62ff055a7755cecf4a4
parentf2db0528d8d7015ba39faca78a16e5e820db9df6
OSSL_HTTP_REQ_CTX_nbio(): Revert to having state var that keeps req len still to send

Otherwise, sending goes wrong in case BIO_write(rctx->wbio, ...) is incomplete at first.

Fixes #13938

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13960)
crypto/http/http_client.c