aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-05-08 14:42:59 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-18 08:57:18 +0200
commit783b3c7b427dce4b1906709cef350af5e9623673 (patch)
treed4a92c0c187c3cafb38fefc09a78dd3946f90232 /lib/urldata.h
parent02ec1ced9ba3bf70f6198b39c39b15fc80c97f09 (diff)
http2: separate multiplex/pipelining + cleanup memory leaks
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index b09177e7a..94b6aece2 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -516,11 +516,6 @@ struct ConnectBits {
requests */
bool netrc; /* name+password provided by netrc */
bool userpwd_in_url; /* name+password found in url */
-
- bool done; /* set to FALSE when Curl_do() is called and set to TRUE
- when Curl_done() is called, to prevent Curl_done() to
- get invoked twice when the multi interface is
- used. */
bool stream_was_rewound; /* Indicates that the stream was rewound after a
request read past the end of its response byte
boundary */
@@ -1314,6 +1309,9 @@ struct UrlState {
int drain; /* Increased when this stream has data to read, even if its
socket not necessarily is readable. Decreased when
checked. */
+ bool done; /* set to FALSE when Curl_do() is called and set to TRUE when
+ Curl_done() is called, to prevent Curl_done() to get invoked
+ twice when the multi interface is used. */
};