projects
/
platform
/
upstream
/
curl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
getting only a 100 Continue response and nothing else, when talking HTTP,
[platform/upstream/curl.git]
/
lib
/
transfer.c
diff --git
a/lib/transfer.c
b/lib/transfer.c
index
4d5577a
..
4385b84
100644
(file)
--- a/
lib/transfer.c
+++ b/
lib/transfer.c
@@
-468,6
+468,9
@@
CURLcode Curl_readwrite(struct connectdata *conn,
data->info.header_size += headerlen;
conn->headerbytecount += headerlen;
+ conn->deductheadercount =
+ (100 == k->httpcode)?conn->headerbytecount:0;
+
if (conn->resume_from &&
!k->content_range &&
(data->set.httpreq==HTTPREQ_GET)) {