mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-24 04:01:07 +03:00
Summary: Ack Rx timestamps are currently disabled on 0-rtt connections, which is enabled on mvfst for all non-video connections. This is because the timestamp config is negotiated with transport settings during handshake which doesn't happen on a new 0-rtt connection (resumption). Solution: Store the peer's rx timestamp config in PSKCache on the client. On 0-rtt resumption of the connection, this peer config is restored and used to send Rx timestamps (if enabled). Note that if the server had changed its timestamp config during this period (through configerator) then the server needs to reject this 0-rtt connection and start anew. Server code changes to support this will be in a followup diff. With this client diff though, server will drop the Rx timestamps if its own config is suddenly disabled (this is a waste of network resource). Reviewed By: jbeshay Differential Revision: D58572572 fbshipit-source-id: d95720c177ac4bc8dcbe40362f19b279b3f8e708
11 KiB
11 KiB