diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-07 14:27:54 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-07 14:27:54 +0000 |
commit | 72b1144b8c1844ec81d5f5b73eb9b2a088377fec (patch) | |
tree | dea9c5bb99974d03b21c53b51266798d7cca6fe8 /lib/urldata.h | |
parent | 348fe0e210f7e593c80e956d0270c220705f132a (diff) |
getting only a 100 Continue response and nothing else, when talking HTTP,
is now treated as an error by libcurl
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 4ed66243d..4f53d8412 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -438,6 +438,11 @@ struct connectdata { char *ppath; curl_off_t bytecount; long headerbytecount; /* only count received headers */ + long deductheadercount; /* this amount of bytes doesn't count when we check + if anything has been transfered at the end of + a connection. We use this counter to make only + a 100 reply (without a following second response + code) result in a CURLE_GOT_NOTHING error code */ char *range; /* range, if used. See README for detailed specification on this syntax. */ |