mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-09 10:00:57 +03:00
Summary: This is a bug fix. When a stream finished sending all it's BufMetas, it can send EOF from frontend QUIC host. In that case, it will use currentWriteOffset value which is wrong. This diff changes it so that (1) frontend can only write FIN only frame if writeBufMeta's offset is <= finalWriteOffset; (2) When it writes such frame it will use finalWriteOffset as the offset value in the frame. Reviewed By: lnicco Differential Revision: D28727029 fbshipit-source-id: 8f963c2e2d66f921f8a9704ed4671ec4f7c04df7
60 KiB
60 KiB