counts header and request size

This commit is contained in:
Daniel Stenberg
2000-10-04 13:07:43 +00:00
parent bf56377865
commit 5865860ad6
4 changed files with 23 additions and 4 deletions

View File

@@ -349,6 +349,7 @@ _Transfer(struct connectdata *c_conn)
return CURLE_WRITE_ERROR;
}
}
data->header_size += p - data->headerbuff;
break; /* exit header line loop */
}
@@ -425,6 +426,7 @@ _Transfer(struct connectdata *c_conn)
return CURLE_WRITE_ERROR;
}
}
data->header_size += hbuflen;
/* reset hbufp pointer && hbuflen */
hbufp = data->headerbuff;