mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
If a bip_buffer's A buffer is in the middle of being appended to, but that append has not yet been committed, and all committed A data has been read, the buffer would get into a bad state where m_start_r pointed to the end of the previous A buffer, but that data is no longer connected to either A or B. So now we make sure to check m_size_r before considering A "done".