Don't sleep in poll() if there is existing SASL decoded data
Don't sleep in poll() if there is existing SASL decoded data

In the SASL codepath we typically read far more data off the
wire than we immediately need. When using a connection from a
single thread this isn't a problem, since only our reply will
be pending (or an event we can handle directly). When using a
connection from multiple threads though, we may read the data
from replies from other threads. If those replies occur after
our own reply, they'll not be processed. The other thread will
then go into poll() and wait for its reply which has already
been received and decoded. The solution is to set poll() timeout
to 0 if there is pending SASL data.

* src/remote/remote_driver.c: Don't sleep in poll() if SASL
  data exists

eskultety/libvirt,rlaager/libvirt,fabianfreyer/libvirt,novel/fbsd-libvirt,warewolf/libvirt,usc-isi/libvirt,leilihh/libvirt,kantai/libvirt-vfork,wiedi/libvirt,taget/libvirt,datto/libvirt,eskultety/libvirt,leilihh/libvirt,zhlcindy/libvirt-1.1.4-maintain,foomango/libvirt,danwent/libvirt-ovs,zippy2/libvirt,siboulet/libvirt-openvz,usc-isi/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,novel/fbsd-libvirt,fabianfreyer/libvirt,foomango/libvirt,VenkatDatta/libvirt,eskultety/libvirt,nertpinx/libvirt,rmarwaha/libvirt1,crobinso/libvirt,rlaager/libvirt,agx/libvirt,warewolf/libvirt,libvirt/libvirt,novel/fbsd-libvirt,wiedi/libvirt,rmarwaha/libvirt,andreabolognani/libvirt,agx/libvirt,wiedi/libvirt,iam-TJ/libvirt,crobinso/libvirt,siboulet/libvirt-openvz,elmarco/libvirt,elmarco/libvirt,rmarwaha/libvirt,cbosdo/libvirt,jeckersb/libvirt,jardasgit/libvirt,rmarwaha/libvirt,agx/libvirt,siboulet/libvirt-openvz,rbu/libvirt,foomango/libvirt,iam-TJ/libvirt,emaste/libvirt,cbosdo/libvirt,bjzhang/libvirt,jardasgit/libvirt,olafhering/libvirt,zhlcindy/libvirt-1.1.4-maintain,fabianfreyer/libvirt,cbosdo/libvirt,zippy2/libvirt,zippy2/libvirt,bjzhang/libvirt,VenkatDatta/libvirt,rlaager/libvirt,zhlcindy/libvirt-1.1.4-maintain,novel/fbsd-libvirt,danwent/libvirt-ovs,jeckersb/libvirt,datto/libvirt,VenkatDatta/libvirt,nertpinx/libvirt,nertpinx/libvirt,wiedi/libvirt,rmarwaha/libvirt1,VenkatDatta/libvirt,danwent/libvirt-ovs,trainstack/libvirt,rmarwaha/libvirt,wiedi/libvirt,usc-isi/libvirt,shugaoye/libvirt,leilihh/libvirt,rmarwaha/libvirt,jfehlig/libvirt,bjzhang/libvirt,jardasgit/libvirt,taget/libvirt,libvirt/libvirt,olafhering/libvirt,rmarwaha/libvirt1,cbosdo/libvirt,rlaager/libvirt,kantai/libvirt-vfork,foomango/libvirt,usc-isi/libvirt,shugaoye/libvirt,jeckersb/libvirt,novel/fbsd-libvirt,soulxu/libvirt-xuhj,agx/libvirt,iam-TJ/libvirt,taget/libvirt,rbu/libvirt,rbu/libvirt,novel/fbsd-libvirt,siboulet/libvirt-openvz,foomango/libvirt,libvirt/libvirt,warewolf/libvirt,olafhering/libvirt,leilihh/libvirt,taget/libvirt,elmarco/libvirt,usc-isi/libvirt,bjzhang/libvirt,rmarwaha/libvirt1,elmarco/libvirt,emaste/libvirt,datto/libvirt,kantai/libvirt-vfork,warewolf/libvirt,iam-TJ/libvirt,olafhering/libvirt,soulxu/libvirt-xuhj,VenkatDatta/libvirt,bjzhang/libvirt,zhlcindy/libvirt-1.1.4-maintain,libvirt/libvirt,novel/fbsd-libvirt,andreabolognani/libvirt,cbosdo/libvirt,elmarco/libvirt,fabianfreyer/libvirt,warewolf/libvirt,jardasgit/libvirt,dumbbell/libvirt,warewolf/libvirt,iam-TJ/libvirt,emaste/libvirt,soulxu/libvirt-xuhj,leilihh/libvirt,trainstack/libvirt,wiedi/libvirt,emaste/libvirt,danwent/libvirt-ovs,andreabolognani/libvirt,zhlcindy/libvirt-1.1.4-maintain,kantai/libvirt-vfork,jfehlig/libvirt,soulxu/libvirt-xuhj,kantai/libvirt-vfork,nertpinx/libvirt,shugaoye/libvirt,jeckersb/libvirt,jfehlig/libvirt,jfehlig/libvirt,rbu/libvirt,trainstack/libvirt,warewolf/libvirt,dumbbell/libvirt,leilihh/libvirt,dumbbell/libvirt,rbu/libvirt,jeckersb/libvirt,emaste/libvirt,shugaoye/libvirt,shugaoye/libvirt,soulxu/libvirt-xuhj,nertpinx/libvirt,emaste/libvirt,jeckersb/libvirt,eskultety/libvirt,datto/libvirt,trainstack/libvirt,trainstack/libvirt,datto/libvirt,iam-TJ/libvirt,crobinso/libvirt,dumbbell/libvirt,wiedi/libvirt,agx/libvirt,siboulet/libvirt-openvz,jeckersb/libvirt,rmarwaha/libvirt,taget/libvirt,trainstack/libvirt,crobinso/libvirt,novel/fbsd-libvirt,novel/fbsd-libvirt,andreabolognani/libvirt,rlaager/libvirt,iam-TJ/libvirt,dumbbell/libvirt,rmarwaha/libvirt1,jardasgit/libvirt,zippy2/libvirt,eskultety/libvirt,rmarwaha/libvirt1,dumbbell/libvirt,danwent/libvirt-ovs,emaste/libvirt,trainstack/libvirt