quic: fix server opening stream immediately 71/22371/2
authorAloys Augustin <[email protected]>
Thu, 5 Sep 2019 15:58:21 +0000 (17:58 +0200)
committerAndrew Yourtchenko <[email protected]>
Mon, 30 Sep 2019 15:18:51 +0000 (15:18 +0000)
commit587eeecf0da4d245101831da51d755700dc65e7c
tree22b69204b21117e7a678d0e32415922a0816f348
parent9636f97482e232d168a1693a44821f280f1b2de2
quic: fix server opening stream immediately

Previously, if the first thing a server did was to open a stream and
send data, this could trigger a crash on the clilent side VPP as the
quic session wouldn't be allocated.

Change-Id: I43990ce2a71217d6719ecae4da60111d05fbcfc0
Type: fix
Signed-off-by: Aloys Augustin <[email protected]>
(cherry picked from commit ffbfe3a2d6aaf4e847a1848c29fc8ce2997ed260)
src/plugins/quic/quic.c
src/plugins/quic/quic.h