libosmo-netif.git branch master updated. 0.0.6-44-g3a060c5

gitosis at osmocom.org gitosis at osmocom.org
Fri Mar 17 21:09:37 UTC 2017


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  3a060c59bec7a4a5b22849938b8b4c7b7ecb4c01 (commit)
       via  d8c820570bd1c0da8a46b615930774319b8ae29b (commit)
       via  f2174ef1a21c5d213a951f210130f42359933eef (commit)
       via  a4c1a73250bf174633cefc150d1b641bc48e57ff (commit)
       via  781e7b38f87b1a8a4ddf65a040935750aabc2b6e (commit)
      from  538e5cd52a3cd9ddac375a645eb579feae0c2101 (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=3a060c59bec7a4a5b22849938b8b4c7b7ecb4c01

commit 3a060c59bec7a4a5b22849938b8b4c7b7ecb4c01
Author: Harald Welte <laforge at gnumonks.org>
Date:   Fri Mar 17 21:30:33 2017 +0100

    README.md: Make sure all hyperlinks have <>
    
    Change-Id: I5a5659afde32f08b324e602b7b1f96de805ba031

http://cgit.osmocom.org/libosmo-netif/commit/?id=d8c820570bd1c0da8a46b615930774319b8ae29b

commit d8c820570bd1c0da8a46b615930774319b8ae29b
Author: Harald Welte <laforge at gnumonks.org>
Date:   Fri Mar 17 12:02:52 2017 +0100

    stream: Export osmo_stream_cli_reconnect()
    
    In case the application is using the read-callback and a read returns 0,
    then the application itself would want to trigger the reconnect.  This
    is different from the osmo_stream_cli_recv() case where the reconnect
    can be handled internally to the library.
    
    Change-Id: I41314bad4a9f44e8a61b9d2ba33d1a76b25bd145

http://cgit.osmocom.org/libosmo-netif/commit/?id=f2174ef1a21c5d213a951f210130f42359933eef

commit f2174ef1a21c5d213a951f210130f42359933eef
Author: Harald Welte <laforge at gnumonks.org>
Date:   Fri Mar 17 00:16:08 2017 +0100

    stream: When destroying, make sure to kill reconnect timer
    
    if osmo_stream_cli_destroy() is called while the reconnect timer is
    running, we would end up in a crash.
    
    Change-Id: If6597130f472f1e2b8d9682002250ecd54675bb0

http://cgit.osmocom.org/libosmo-netif/commit/?id=a4c1a73250bf174633cefc150d1b641bc48e57ff

commit a4c1a73250bf174633cefc150d1b641bc48e57ff
Author: Harald Welte <laforge at gnumonks.org>
Date:   Fri Mar 17 00:15:38 2017 +0100

    stream: don't crash in _close() when fd is not initialized
    
    We use the magic value '-1' in case the file descriptor is not yet
    initialized.  If somebody calls osmo_stream_*_close() before this
    changes, we used to crash.  Let's check for this and avoid a crash.
    
    Also, after close let's change the fd to -1 again to mark the fd
    invalidity.
    
    Change-Id: I3aa04999ab01cb7971ee2dad45dfc31ab4142868

http://cgit.osmocom.org/libosmo-netif/commit/?id=781e7b38f87b1a8a4ddf65a040935750aabc2b6e

commit 781e7b38f87b1a8a4ddf65a040935750aabc2b6e
Author: Harald Welte <laforge at gnumonks.org>
Date:   Fri Mar 17 00:14:38 2017 +0100

    stream_client: Actually use/honor the reconect parameter
    
    The reconnect behavior was likely broken in commit
    de3f57a8293a5b39435d6f283da23e0172bad8bb
    
    If the user requests a re-connect, we should start it. Not only in case
    the connection drops later, but also if the initial connection itself
    fails.
    
    Change-Id: I817e026404cbd9145cae2ce90bc57a1db1d2e12b

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

Summary of changes:
 README.md                      | 12 ++++++------
 include/osmocom/netif/stream.h |  1 +
 src/stream.c                   | 14 ++++++++++++--
 3 files changed, 19 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
Osmocom network interface library



More information about the osmocom-commitlog mailing list