The GaiFuture owns a Tokio JoinHandle, spawning a call to getaddrinfo in a blocking thread. If a request times out before the blocking thread started the call, we should have it removed from the queue. That can be done with impl Drop for GaiFuture that calls JoinHandle::abort().
The
GaiFutureowns a TokioJoinHandle, spawning a call togetaddrinfoin a blocking thread. If a request times out before the blocking thread started the call, we should have it removed from the queue. That can be done withimpl Drop for GaiFuturethat callsJoinHandle::abort().