From 783b3c7b427dce4b1906709cef350af5e9623673 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 8 May 2015 14:42:59 +0200 Subject: http2: separate multiplex/pipelining + cleanup memory leaks --- lib/urldata.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lib/urldata.h') 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. */ }; -- cgit v1.2.3