]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
pingpong: don't use *bump_headersize
authorDaniel Stenberg <daniel@haxx.se>
Fri, 4 Aug 2023 07:32:55 +0000 (09:32 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 4 Aug 2023 09:06:39 +0000 (11:06 +0200)
We use that for HTTP(S) only.

Follow-up to 3ee79c1674fd6

Closes #11590

lib/pingpong.c

index 523bbec189fe68a4f4c8c5e4db091ce2dc0dd5a4..85fd75badc75e3a883423f7c81bb7e6354755cc8 100644 (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++) {