http2: don't send a CURLE_SEND_ERROR after a valid http2 response
No binary (build failed)
—
(log yok)
| @@ -2249,7 +2249,7 @@ static CURLcode cf_h2_send(struct Curl_cfilter *cf, struct Curl_easy *data, | |
| /* if the stream has been closed in egress handling (nghttp2 does that | |
| * when it does not like the headers, for example */ | |
| - | if(stream && stream->closed) { |
| + | if(stream && stream->closed && !stream->resp_hds_complete) { |
| infof(data, "stream %d closed", stream->id); | |
| result = CURLE_SEND_ERROR; | |
| goto out; | |