aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-13 12:40:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-13 12:40:36 +0000
commitc19844a0a3d7f7d1c7351de65605d13d422f2600 (patch)
tree49ca68168029afead6ccd5e6f8c7db0ea39d5e7e /lib/urldata.h
parent22cf05519aa09dce9f17bd5c78d34c0c19d03c65 (diff)
better deal with HTTP(S) servers that respond with no headers at all, test
case 306 added to verify that we do right
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 6d3f9ce73..f4cca8fda 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -229,6 +229,8 @@ struct Curl_transfer_keeper {
struct timeval start; /* transfer started at this time */
struct timeval now; /* current time */
bool header; /* incoming data has HTTP header */
+ bool badheader; /* the header was deemed bad and will be
+ written as body */
int headerline; /* counts header lines to better track the
first one */
char *hbufp; /* points at *end* of header line */
@@ -245,8 +247,6 @@ struct Curl_transfer_keeper {
bool write_after_100_header; /* should we enable the write after
we received a 100-continue/timeout
or directly */
-
- /* for content-encoding 08/28/02 jhrg */
int content_encoding; /* What content encoding. sec 3.5, RFC2616. */
#define IDENTITY 0 /* No encoding */