aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-11-11 23:03:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-11-11 23:03:03 +0000
commit42acb00c815f2cca5bd1e3653c9f3a47e9256572 (patch)
treee0b717d0b9732617e29de0b5aa967cc1f27440e8 /lib/urldata.h
parentca6e77083768858aa34207f8c5dce38b3c05336d (diff)
moved the bools in the connectdata struct into the substruct named
ConnectBits where the other bools already are
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 523b58f2e..8d20a78f8 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -214,6 +214,14 @@ struct ConnectBits {
IP address */
bool use_range;
bool rangestringalloc; /* the range string is malloc()'ed */
+
+ bool do_more; /* this is set TRUE if the ->curl_do_more() function is
+ supposed to be called, after ->curl_do() */
+
+ bool upload_chunky; /* set TRUE if we are doing chunked transfer-encoding
+ on upload */
+
+ bool getheader; /* TRUE if header parsing is wanted */
};
/*
@@ -381,7 +389,6 @@ struct connectdata {
/* READ stuff */
int sockfd; /* socket to read from or -1 */
int size; /* -1 if unknown at this point */
- bool getheader; /* TRUE if header parsing is wanted */
long *bytecountp; /* return number of bytes read or NULL */
/* WRITE stuff */
@@ -449,12 +456,6 @@ struct connectdata {
and the 'upload_present' contains the number of bytes available at this
position */
char *upload_fromhere;
-
- bool do_more; /* this is set TRUE if the ->curl_do_more() function is
- supposed to be called, after ->curl_do() */
-
- bool upload_chunky; /* set TRUE if we are doing chunked transfer-encoding
- on upload */
};
/* The end of connectdata. 08/27/02 jhrg */