Fix delayed event delivery when SASL is active
Fix delayed event delivery when SASL is active

When SASL is active, it was possible that we read and decoded
more data off the wire than we initially wanted. The loop
processing this data terminated after only one message to
avoid delaying the calling thread, but this could delay
event delivery. As long as there is decoded SASL data in
memory, we must process it, before returning to the poll()
event loop.

This is a counterpart to the same kind of issue solved in

  commit 68d2c3482fa16801f8e6ca5c42698319bb87f385

in a different area of the code

* src/remote/remote_driver.c: Process all pending SASL data

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