pingpong: don't use *bump_headersize

We use that for HTTP(S) only.

Follow-up to 3ee79c1674

Closes #11590
This commit is contained in:
Daniel Stenberg 2023-08-04 09:32:55 +02:00
parent 8a9f4d481a
commit 83319e0271
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -341,9 +341,7 @@ CURLcode Curl_pp_readresp(struct Curl_easy *data,
ssize_t clipamount = 0;
bool restart = FALSE;
result = Curl_bump_headersize(data, gotbytes, FALSE);
if(result)
return result;
data->req.headerbytecount += (unsigned int)gotbytes;
pp->nread_resp += gotbytes;
for(i = 0; i < gotbytes; ptr++, i++) {