Re: Cancelling in-flight DNS request

2014-05-22 Thread Jakub Hrozek
On Sat, Apr 19, 2014 at 08:41:34PM +0200, David Guillen Fandos wrote: Hello, I just wondered whether it was possible to cancel an in-flight request for a particular host without cancelling them all. For example, let's say I query two DNS requests using ares_gethostbyname and I keep looping

Cancelling in-flight DNS request

2014-04-19 Thread David Guillen Fandos
Hello, I just wondered whether it was possible to cancel an in-flight request for a particular host without cancelling them all. For example, let's say I query two DNS requests using ares_gethostbyname and I keep looping and polling FDs. After some time I just decide to cancel one of the requests