cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Multi interface infinite loop
From: codemastr <codemstr_at_ptd.net>
Date: Wed, 21 Apr 2004 17:35:41 -0400
Ok got a question, I'm using the multi interface. And here is the scenario.
/* This finishes with cont != 0 so while is entered */
fd_set fdread, fdwrite, fdexcep;
curl_multi_fdset(multihandle, &fdread, &fdwrite, &fdexcep, &maxfd);
rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
Since cont was set to !0 that one time, the loop is infinite. I copied this
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info