pipe: fix bug in rollback() method
The msgs_written variable keeps track how many complete messages have been written so far. The rollback operation drops all fragments of the last incomplete message so it shouldn't change this variable at all.
Showing
Please
register
or
sign in
to comment