… | |
… | |
139 | |
139 | |
140 | =item $query->cancel |
140 | =item $query->cancel |
141 | |
141 | |
142 | Cancels a request that is in progress. |
142 | Cancels a request that is in progress. |
143 | |
143 | |
144 | =item EV::ADNS::reinit undef, $resolvdata_or_undef |
144 | =item EV::ADNS::reinit $flags_or_undef, $resolvdata_or_undef |
145 | |
145 | |
146 | Cancels all outstanding queries, frees all adns state and reinitialises |
146 | Cancels all outstanding queries, frees all adns state and reinitialises |
147 | it. It is highly recommended to only call this when there are no |
147 | it. It is highly recommended to only call this when there are no |
148 | outstanding requests. |
148 | outstanding requests. |
149 | |
149 | |
150 | The first argument must currently be specified as C<undef>. |
150 | The first argument is the set of init flags to use, or C<undef>, in which |
|
|
151 | case EV::ADNS uses it's default flag set. |
151 | |
152 | |
152 | The second argument can be missing or C<undef>; in which case the normal |
153 | The second argument can be missing or C<undef>; in which case the normal |
153 | initialisation is done (such as reading the F<resolv.conf>), or it might |
154 | initialisation is done (such as reading the F<resolv.conf>), or it might |
154 | be a stirng, in which case no config files or environment variables will |
155 | be a stirng, in which case no config files or environment variables will |
155 | be read and the given string will be interpreted as the F<resolv.conf> |
156 | be read and the given string will be interpreted as the F<resolv.conf> |