summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-12-02 23:00:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-12-02 23:00:10 +0000
commitf7ea43151623042dc8e51d6c4076bdddf515f5a1 (patch)
treea90cf18158878dae92e550be38546559e9d99afc /lib
parent16a153468db1919e6d5e5389929d329837714462 (diff)
downloadcurl-f7ea43151623042dc8e51d6c4076bdddf515f5a1.tar.gz
explain the two *channel_inuse fields somewhat better
Diffstat (limited to 'lib')
-rw-r--r--lib/urldata.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 42da3e862..707377560 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -978,6 +978,10 @@ struct connectdata {
struct sockaddr_in local_addr;
#endif
+ /* the two following *_inuse fields are only flags, not counters in any way.
+ If TRUE it means the channel is in use, and if FALSE it means the channel
+ is up for grabs by one. */
+
bool readchannel_inuse; /* whether the read channel is in use by an easy
handle */
bool writechannel_inuse; /* whether the write channel is in use by an easy