diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-12-02 23:00:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-12-02 23:00:10 +0000 |
commit | f7ea43151623042dc8e51d6c4076bdddf515f5a1 (patch) | |
tree | a90cf18158878dae92e550be38546559e9d99afc /lib | |
parent | 16a153468db1919e6d5e5389929d329837714462 (diff) | |
download | curl-f7ea43151623042dc8e51d6c4076bdddf515f5a1.tar.gz |
explain the two *channel_inuse fields somewhat better
Diffstat (limited to 'lib')
-rw-r--r-- | lib/urldata.h | 4 |
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 |