libosmocore.git branch master updated. 0.9.0-304-gc7f52c4

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Fri Dec 9 11:26:54 UTC 2016


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, master has been updated
       via  c7f52c4c84d6a8898048738c4db9266289c40b45 (commit)
      from  d7c0a373ff38b28a14fd7ee1cc6be3cfbddbd850 (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/libosmocore/commit/?id=c7f52c4c84d6a8898048738c4db9266289c40b45

commit c7f52c4c84d6a8898048738c4db9266289c40b45
Author: Holger Hans Peter Freyther <holger at 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

-----------------------------------------------------------------------

Summary of changes:
 .gitignore                       |  1 +
 src/write_queue.c                | 11 ++++--
 tests/Makefile.am                |  8 +++-
 tests/testsuite.at               |  6 +++
 tests/write_queue/wqueue_test.c  | 81 ++++++++++++++++++++++++++++++++++++++++
 tests/write_queue/wqueue_test.ok |  1 +
 6 files changed, 103 insertions(+), 5 deletions(-)
 create mode 100644 tests/write_queue/wqueue_test.c
 create mode 100644 tests/write_queue/wqueue_test.ok


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications



More information about the osmocom-commitlog mailing list