[go: up one dir, main page]

Proto: Fix await_protocol_activation that does not wait anymore

Fixes #4989 (closed)

The last release of resto has fixed a bug in which opening a stream for reading was blocking as long as the first element was not received.

Unfortunately, the await_protocol_activation function implementation was built on top of this side-effectful blocking semantic (considering the bug as a feature).

This patch fixes the problem in every concerned protocol and now waits for the first received element explicitly.

Merge request reports

Loading