1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-24 04:01:07 +03:00
Commit Graph

8 Commits

Author SHA1 Message Date
Matt Joras
c6e39980db Add some [[nodiscard]] and standardize on it
Summary: Add some that were missing in the codec. Also replace all FOLLY_DISCARD with [[nodiscard]] since we support it everywhere.

Reviewed By: kvtsoy

Differential Revision: D72571687

fbshipit-source-id: af296858eedcb033dcae9db1c5a3a2318e4acea7
2025-04-07 23:45:33 -07:00
Matt Joras
d153b04ec4 Add SeparateDefinitionBlocks to clang-format
Summary: As in title.

Reviewed By: kvtsoy

Differential Revision: D72543602

fbshipit-source-id: 6190b7fa541b1535eab565bac3da159c85781c0e
2025-04-07 13:20:35 -07:00
Hani Damlaj
00e67c1bf9 mvfst License Header Update
Reviewed By: lnicco

Differential Revision: D33587012

fbshipit-source-id: 972eb440f0156c9c04aa6e8787561b18295c1a97
2022-01-18 13:56:12 -08:00
Hani Damlaj
2660a288b3 Update Company Name
Summary: - as title

Reviewed By: lnicco

Differential Revision: D33513410

fbshipit-source-id: 282b6f512cf83b9abb7990402661135b658f7bd1
2022-01-13 12:07:48 -08:00
generatedunixname89002005287564
086a9fd97e Daily arc lint --take CLANGFORMAT
Reviewed By: zertosh

Differential Revision: D22894880

fbshipit-source-id: 02c9a421a0a31fb15d3750a1c5bf0d364e903040
2020-08-03 08:43:07 -07:00
Andrew Gallagher
30992e037a Add missing #includes exposed by modular builds
Reviewed By: igorsugak

Differential Revision: D22808304

fbshipit-source-id: b9d14223f6762d4591b3a0ced12a8e74a74fa7ed
2020-08-01 16:57:15 -07:00
James Donald
1fb58e14c7 Avoid using [[nodiscard]] in C++14 mode
Summary:
clang was using `[[nodiscard]]` with `-std=c++14`, which is okay for clang but not MSVC.

We cannot upgrade to C++17 yet due to a clang 8 issue. That time will come later. In the meantime, this is an alternative to D20377630 "[fbcode][xplat] Upgrade quic and proxygen to C++17"

Reviewed By: yangchi

Differential Revision: D20494128

fbshipit-source-id: a4161a6a76236fe79e0e11553f117396f91a1061
2020-03-18 23:24:34 -07:00
Andrejs Krasilnikovs
8114c3e3d0 Changed last packet sent times to bet per-packet-number-space andthe PTO timer calculation from them
Summary:
This diff:
1) introduces `EnumArray` - effectively an `std::array` indexed by an enum
2) changes loss times and `lastRetransmittablePacketSentTime` inside `LossState`  to be an `EnumArray` indexed by `PacketNumberSpace`
3) makes the method `isHandshakeDone()` available for both client and server handshakes.
4) uses all those inputs to determine PTO timers in `earliestTimeAndSpace()`

Reviewed By: yangchi

Differential Revision: D19650864

fbshipit-source-id: d72e4a0cf61d2dcb76f0a7f4037c36a7c8156942
2020-02-10 12:28:43 -08:00