Flag the session *after* every stream was successfully sent.
Fixes #731
Signed-off-by: David Goulet <dgoulet@efficios.com>
if (ret < 0) {
goto error;
}
if (ret < 0) {
goto error;
}
-
- /* Flag that at least the metadata has been sent to the consumer. */
- session->consumer_fds_sent = 1;
}
/* Send channel and streams of it */
}
/* Send channel and streams of it */
DBG("Kernel consumer FDs of metadata and channel streams sent");
DBG("Kernel consumer FDs of metadata and channel streams sent");
+ session->consumer_fds_sent = 1;