1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-09 10:00:57 +03:00
Files
mvfst/quic/api/QuicTransportBase.cpp
Yang Chi d2e7e16c31 Short-circuit peek looper if there is no peek callback
Summary:
We always add stuff into peekable streams set since everything with a
read buffer is peekable. This makes the this set potentially big, and the
find_if quite expensive. For apps that isn't interested in peeking,  this is a
waste of time.

Reviewed By: mjoras, lnicco

Differential Revision: D20972192

fbshipit-source-id: d696ded936140c622e019d608c72a646df405111
2020-04-11 12:49:40 -07:00

93 KiB