Closed bayrinat closed 2 years ago
https://gerrit.fd.io/r/c/govpp/+/36185 - the first attempt to fix it.
Receiving message from Stream is independent from the channel's receiving. That's why we have to use timeout in recvReply as well. Otherwise, we will stuck on receive method while on vpp disconnecting.
Gentle ping @ondrej-fabry to verify it.
@ondrej-fabry review, plz :)
Draining of underlaying channel makes waiting endless. Now stream uses timeout to prevent it.
Signed-off-by: Rinat Baygildin bayrinat@yandex-team.ru Change-Id: I9a48bf06a2073cb3e6efbeb530c267bd40ec086b
76