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 "An utility library for Open Source Mobile Communications".
The branch, reafs/for/master has been created
at c7f52c4c84d6a8898048738c4db9266289c40b45 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=c7f52c4c84d6a8898048738c4db9…
commit c7f52c4c84d6a8898048738c4db9266289c40b45
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Sat Nov 12 21:25:21 2016 +0100
wqueue: Reject messges if queue is considered full
The write queue was always meant to not queue more than the
max_length messages but the implementation never rejected a
message.
Begin to log and enforce the queue size limit, add a testcase
to verify the code and initialize except_cb as part of a fix
for that new test case.
Real applications might now run into the queue limit and drop
messages where they just queued them before. It is unfortunate
but I still think it is good to implement the routine as it was
intended. We need to review osmo_wqueue_enqueue once more to
see that no msgb is leaked.
Change-Id: I1e6aef30f3e73d4bcf2967bc49f0783aa65395ae
-----------------------------------------------------------------------
hooks/post-receive
--
An utility library for Open Source Mobile Communications