On Fri, Oct 2, 2009 at 1:15 PM, <[email protected]> wrote: > Hi. > I am using multi handle for my application. I have a select call on the > curl FDs, and on return of select, i do multi_perform depending upon the > return value of select . The timeout for select is 1 min. > I have a problem here since if the select is blocked for 1 mins, and if I > want to close my application, it hangs for one min. > > I cannot reduce the 1 min timeout. Is it possible to use any curl APIs to > break this select? > > you can use pselect() instead of select() and unblock SIGTERM using the sigmask parameter.
> Please suggest. > > Regards > Shivanand > ------------------------------------------------------------------- > List admin: http://cool.haxx.se/list/listinfo/curl-library > Etiquette: http://curl.haxx.se/mail/etiquette.html >
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
