mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-09 20:42:44 +03:00
Summary: ^ Reviewed By: yangchi Differential Revision: D21956286 fbshipit-source-id: 305b879ad11df23aae8e0c3aac4645c0136b3012
22 lines
459 B
C++
22 lines
459 B
C++
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
|
|
#include <quic/state/QuicPacingFunctions.h>
|
|
|
|
namespace quic {
|
|
|
|
void updatePacingOnKeyEstablished(QuicConnectionStateBase& conn) {
|
|
conn.canBePaced = true;
|
|
}
|
|
|
|
void updatePacingOnClose(QuicConnectionStateBase& conn) {
|
|
conn.canBePaced = false;
|
|
}
|
|
|
|
} // namespace quic
|