On Thu, Jun 15, 2017 at 11:08:01AM +0800, Mao Zhongyi wrote: > From: Cao jin <caoj.f...@cn.fujitsu.com> > > The non-blocking connect mechanism is obsolete, and it doesn't > work well in inet connection, because it will call getaddrinfo > first and getaddrinfo will blocks on DNS lookups. Since commit > e65c67e4 & d984464e, the non-blocking connect of migration goes > through QIOChannel in a different manner(using a thread), and > nobody use this old non-blocking connect anymore. > > Any newly written code which needs a non-blocking connect should > use the QIOChannel code, so we can drop NonBlockingConnectHandler > as a concept entirely. > > Cc: mitake.hito...@lab.ntt.co.jp > Cc: namei.u...@gmail.com > Cc: jc...@redhat.com > Cc: kw...@redhat.com > Cc: mre...@redhat.com > Cc: berra...@redhat.com > Cc: kra...@redhat.com > Cc: pbonz...@redhat.com > Cc: qemu-bl...@nongnu.org > Cc: sheep...@lists.wpkg.org > Suggested-by: Daniel P. Berrange <berra...@redhat.com> > Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> > Signed-off-by: Mao Zhongyi <maozy.f...@cn.fujitsu.com> > ---
Reviewed-by: Daniel P. Berrange <berra...@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|