1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-09 10:00:57 +03:00
Commit Graph

64 Commits

Author SHA1 Message Date
Luca Niccolini
6efcef720f export current mss in transportinfo
Summary:
we were not setting the MSS.
populate it from the transport, compute the cwnd appropriately and check the netquality header

Reviewed By: yangchi

Differential Revision: D17385975

fbshipit-source-id: 3666728c48d3fc7a65827d526fbdd546449b2e1f
2019-09-16 10:41:36 -07:00
Yang Chi
5d9749cda6 Zero init a few durations in mvfst
Summary: Apparently they don't zero-init themselves

Reviewed By: sharma95

Differential Revision: D16973464

fbshipit-source-id: f7360790f2d34686cc2d03d651d26e3feb407a79
2019-08-22 18:41:24 -07:00
Junqi Wang
228b80b1a8 Make AppTokenValidator::validate const
Summary: prevent application from changing state

Reviewed By: knekritz

Differential Revision: D16448292

fbshipit-source-id: f1c065eec8556a5dd6ef75b2466b761beee82a40
2019-07-25 11:52:18 -07:00
Junqi Wang
4e9c9cd995 Remove old API to negotiate early data params with app
Summary: fully deprecate the old stateful API

Reviewed By: lnicco

Differential Revision: D16267317

fbshipit-source-id: a0adc83fb571e78ed68b370bb42d774004417d92
2019-07-19 08:54:39 -07:00
Junqi Wang
e92672d7ee Stateless API for APP to validate/write 0-RTT params
Summary:
Previously we tried to put this API in connectionCallback, but that has
some lifecycle problem. So we decided to make this API independent of mvfst's
state. Application (e.g. HTTP/3, QPACK) will have to either make the 2 functions
stateless or maintain the lifecycle of any captured objects.

Reviewed By: afrind, lnicco

Differential Revision: D16074471

fbshipit-source-id: b0a3baa6870bee56372797754972ab5c2c1f2232
2019-07-19 08:54:37 -07:00
Nitin Garg (MPK, Infra)
92a68aa968 Add pacing information to QUIC TransportInfo
Summary: This is useful information for the application to know about

Reviewed By: yangchi

Differential Revision: D15599964

fbshipit-source-id: da451f46238f68fe701d6f433701c569cfe2f47d
2019-06-07 22:02:58 -07:00
Nitin Garg (MPK, Infra)
559103f399 Add bytesAcked to QUIC
Summary: bytesAcked is a very useful stat for apps to know. Bytes written only tells me that data was written to socket but it may not have been acked.

Differential Revision: D15507105

fbshipit-source-id: 656ee45418a78c7e05d8e7979afa2c9a41976e85
2019-05-25 11:55:17 -07:00
Bonnie Xu
f4ae0a1efd Updated files to change syntax.
Summary: Changed existing chrono syntax to chrono_literals syntax.

Reviewed By: mjoras, sharma95

Differential Revision: D15374649

fbshipit-source-id: 40033e90cca226266ef85e4fec629f290bc5dae6
2019-05-20 12:10:46 -07:00
Yang Chi
c35e3d6e84 Rename RTO to PTO
Summary: To conform to the current specs.

Reviewed By: mjoras

Differential Revision: D15215018

fbshipit-source-id: 4dcc495aea1cd7cebf2bc84f7367cb2e4a55df19
2019-05-06 18:50:35 -07:00
Alan Frindell
a122063d22 Add helper to send a reset from a readError
Summary: The previous diff removed automatically sending a rst stream when receiving a reset stream.  This adds a helper to do that from the application layer.

Reviewed By: mjoras, pkir

Differential Revision: D15208997

fbshipit-source-id: b8d3898e85537e97df61cc66854299698a48c825
2019-05-06 14:05:32 -07:00
Aman Sharma
85fc503506 TRIP logging QUIC fields
Reviewed By: udippant

Differential Revision: D14627382

fbshipit-source-id: 573582a2936ffce31b12648c4ecea09ed59befbf
2019-05-06 12:15:38 -07:00
Konstantin Tsoy
6b49f4e42a Cancel delivery callbacks on skip
Summary:
For the sender, upon egress or ingress skip we must check registered
delivery callbacks and invoke `onCancel()` for each offset below the skipped
offset.

Reviewed By: mjoras

Differential Revision: D15113113

fbshipit-source-id: 221badce8e92abde48e8ab2c8f3c1da9e506f54e
2019-05-06 10:29:42 -07:00
udippant
163ce02a6f Sync changes to rename onNewStream and CongestionController factory 2019-04-24 17:44:31 -07:00
udippant
50d4939e9e Initial commit of mvfst 2019-04-22 23:42:46 -07:00