This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom network interface library".
The branch, master has been updated
via f27fdf89dc52799e7c908493da2c9ccdf7b1d3c4 (commit)
from 2cbaf4139ae768ff5a79c79d389045b4ef4dd0e6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmo-netif/commit/?id=f27fdf89dc52799e7c908493da…
commit f27fdf89dc52799e7c908493da2c9ccdf7b1d3c4
Author: Stefan Sperling <ssperling(a)sysmocom.de>
Date: Thu Feb 22 19:34:19 2018 +0100
add support for flushing and destroying a server-side stream
Introduce osmo_stream_srv_set_flush_and_destroy() which marks a
stream to be 'flushed and destroyed'. No new messages will be
received on this stream, and no new messages can be queued.
Once the Tx queue has been drained, the connection is destroyed.
The API user is given a chance to perform cleanup operations
in the closed_cb() callback for the connection.
The same mechanism will be added for client-side connections
in a follow-up patch.
Change-Id: I8ed78fe39c463e9018756700d13ee5ebe003b57f
Related: OS#2789
Suggested-by: Harald Welte
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/netif/stream.h | 1 +
src/stream.c | 30 +++++++++++++++++++++++++++++-
2 files changed, 30 insertions(+), 1 deletion(-)
hooks/post-receive
--
Osmocom network interface library