Remy Maucherat
committed
on 11 Oct 13
Fix some input and output corruption when using non blocking, hopefully without causing regressions.