Commit f7ea4315 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

explain the two *channel_inuse fields somewhat better

parent 16a15346
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -978,6 +978,10 @@ struct connectdata {
  struct sockaddr_in local_addr;
  struct sockaddr_in local_addr;
#endif
#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
  bool readchannel_inuse;  /* whether the read channel is in use by an easy
                              handle */
                              handle */
  bool writechannel_inuse; /* whether the write channel is in use by an easy
  bool writechannel_inuse; /* whether the write channel is in use by an easy