Branch: Tag:

2012-02-29

2012-02-29 13:52:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols.DNS: close() now aborts all active requests.

Fixes some of [bug 6031 (#6031)].

1605:    }, callback, @args);    }    +  //! Close the client. +  //! +  //! @note +  //! All active requests are aborted.    void close()    { -  +  foreach(requests; ; Request r) { +  remove(r); +  }    udp::close();    udp::set_read_callback(0);    }