1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-10 21:22:20 +03:00
Files
mvfst/quic/server/test/QuicServerTest.cpp
Udip Pant 14b4c52fff fix a race condition in UDPReader in QuicServerTest
Summary:
if OnDataAvailable() gets called before the readOne(), then `bufPromise_` would
be null, and thus the available buffer (buf_) wouldn't get appended to the
bufPromise_.

Reviewed By: sharma95

Differential Revision: D15960463

fbshipit-source-id: b48df104a021a9e89e863d09a0124c6b19228113
2019-06-23 22:36:31 -07:00

66 KiB