11e815fcc3
If the frame happens to be exactly the same size as the buffer capacity, we will erroneously think that the last frame was complete because the limit is normally at the buffer capacity. This only exploded when we had both a perfectly sized frame and failed to read it in a single call to read, which apparently took 17 years to happen, and many billions of frames read.