Files
vpp/build/external/patches/quicly_0.0.5-vpp/0002-quicly-rtt-time-skew.patch
Dave Wallace 504d023d3b quic: replace quicly patch with upstreamed fix
- Replace the solution to the quicly time skew assert
  with h2o/quicly PR#222 which was merged upstream
  after verification that it resolved the vpp issue.

Type: refactor

Change-Id: I26df08e4108b054a28f50c964ddff1c80a592339
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2019-11-16 14:23:38 +00:00

17 lines
342 B
Diff

diff --git a/lib/quicly.c b/lib/quicly.c
index 95d5f13..3f4fd18 100644
--- a/lib/quicly.c
+++ b/lib/quicly.c
@@ -351,7 +351,10 @@ static __thread int64_t now;
static void update_now(quicly_context_t *ctx)
{
- now = ctx->now->cb(ctx->now);
+ int64_t newval = ctx->now->cb(ctx->now);
+
+ if (now < newval)
+ now = newval;
}
/**