From f7ea43151623042dc8e51d6c4076bdddf515f5a1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 2 Dec 2008 23:00:10 +0000 Subject: [PATCH] explain the two *channel_inuse fields somewhat better --- lib/urldata.h | 4 ++++ 1 file changed, 4 insertions(+) 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