client: always disable watch_read after a command
commit7748d36fe85375fa141fa215cb48405d045b11be
authorEric Wong <e@80x24.org>
Fri, 7 Apr 2017 05:11:52 +0000 (7 05:11 +0000)
committerEric Wong <e@80x24.org>
Fri, 7 Apr 2017 05:14:23 +0000 (7 05:14 +0000)
treee6dafa0828170c5dcfd6fdc004b712567c1384af
parent5d18499348d31dfea1c34df759d830631518e48f
client: always disable watch_read after a command

Otherwise it'll be possible to pipeline admin (!) commands
and event_read will trigger EOF before all the admin commands
are processed in read_buf.
lib/MogileFS/Connection/Client.pm