Projects
osmocom:master
libosmo-netif
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 67
View file
libosmo-netif.spec
Changed
@@ -14,13 +14,13 @@ Name: libosmo-netif Requires: osmocom-master -Version: 1.4.0.2.0c4c +Version: 1.4.0.3.59a7 Release: 0 Summary: Osmocom library for muxed audio License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities URL: https://osmocom.org/projects/libosmo-netif -Source: libosmo-netif_1.4.0.2.0c4c.tar.xz +Source: libosmo-netif_1.4.0.3.59a7.tar.xz Source1: rpmlintrc BuildRequires: automake BuildRequires: libtool >= 2
View file
commit_0c4c47ddfb2d90d88045e85702885fef92d8634c.txt
Deleted
View file
commit_59a785b62840305b8df59992b6dbb4cb530fbdd9.txt
Added
View file
libosmo-netif_1.4.0.2.0c4c.dsc
Deleted
@@ -1,22 +0,0 @@ -Format: 3.0 (native) -Source: libosmo-netif -Binary: libosmonetif11, libosmo-netif-dev, libosmo-netif-doc, libosmo-netif-dbg -Architecture: any all -Version: 1.4.0.2.0c4c -Maintainer: Osmocom team <openbsc@lists.osmocom.org> -Homepage: https://projects.osmocom.org/projects/libosmo-netif -Standards-Version: 3.9.6 -Vcs-Browser: https://gitea.osmocom.org/osmocom/libosmo-netif -Vcs-Git: https://gitea.osmocom.org/osmocom/libosmo-netif -Build-Depends: debhelper (>= 10), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, doxygen, libosmocore-dev (>= 1.9.0), pkg-config, libpcap0.8-dev, libsctp-dev -Package-List: - libosmo-netif-dbg deb debug extra arch=any - libosmo-netif-dev deb libdevel optional arch=any - libosmo-netif-doc deb doc optional arch=all - libosmonetif11 deb libs optional arch=any -Checksums-Sha1: - d5b247eca98a192fabb21526ab5e559d594fc375 189000 libosmo-netif_1.4.0.2.0c4c.tar.xz -Checksums-Sha256: - efac523335837a4112bd88a86126fb7cbdab6a07d74e6941eca61da4f305b5d1 189000 libosmo-netif_1.4.0.2.0c4c.tar.xz -Files: - a71408180b0e1b74a89f06ab5f93fe02 189000 libosmo-netif_1.4.0.2.0c4c.tar.xz
View file
libosmo-netif_1.4.0.3.59a7.dsc
Added
@@ -0,0 +1,22 @@ +Format: 3.0 (native) +Source: libosmo-netif +Binary: libosmonetif11, libosmo-netif-dev, libosmo-netif-doc, libosmo-netif-dbg +Architecture: any all +Version: 1.4.0.3.59a7 +Maintainer: Osmocom team <openbsc@lists.osmocom.org> +Homepage: https://projects.osmocom.org/projects/libosmo-netif +Standards-Version: 3.9.6 +Vcs-Browser: https://gitea.osmocom.org/osmocom/libosmo-netif +Vcs-Git: https://gitea.osmocom.org/osmocom/libosmo-netif +Build-Depends: debhelper (>= 10), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, doxygen, libosmocore-dev (>= 1.9.0), pkg-config, libpcap0.8-dev, libsctp-dev +Package-List: + libosmo-netif-dbg deb debug extra arch=any + libosmo-netif-dev deb libdevel optional arch=any + libosmo-netif-doc deb doc optional arch=all + libosmonetif11 deb libs optional arch=any +Checksums-Sha1: + 70ff45f66e2108cf2067985e848312591b43f447 187592 libosmo-netif_1.4.0.3.59a7.tar.xz +Checksums-Sha256: + 2df79d24ef06b9ca4fd788165e027a1b892bf876adf2fa303a040e073e047204 187592 libosmo-netif_1.4.0.3.59a7.tar.xz +Files: + ab45f4b978fd3cbd3b55fa5d67f0d57d 187592 libosmo-netif_1.4.0.3.59a7.tar.xz
View file
libosmo-netif_1.4.0.2.0c4c.tar.xz/.tarball-version -> libosmo-netif_1.4.0.3.59a7.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.4.0.2-0c4c +1.4.0.3-59a7
View file
libosmo-netif_1.4.0.2.0c4c.tar.xz/debian/changelog -> libosmo-netif_1.4.0.3.59a7.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -libosmo-netif (1.4.0.2.0c4c) unstable; urgency=medium +libosmo-netif (1.4.0.3.59a7) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Thu, 28 Sep 2023 12:26:12 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Fri, 29 Sep 2023 15:31:03 +0000 libosmo-netif (1.4.0) unstable; urgency=medium
View file
libosmo-netif_1.4.0.2.0c4c.tar.xz/src/stream_srv.c -> libosmo-netif_1.4.0.3.59a7.tar.xz/src/stream_srv.c
Changed
@@ -532,18 +532,22 @@ struct osmo_stream_srv *conn = osmo_iofd_get_data(iofd); LOGSSRV(conn, LOGL_DEBUG, "message received (res=%d)\n", res); - if (conn->flags & OSMO_STREAM_SRV_F_FLUSH_DESTROY) { - LOGSSRV(conn, LOGL_INFO, "Connection is being flushed and closed; ignoring received message\n"); - msgb_free(msg); - return; - } + if (OSMO_UNLIKELY(res <= 0)) { + /* This connection is dead, destroy it. */ + osmo_stream_srv_destroy(conn); + } else { + if (conn->flags & OSMO_STREAM_SRV_F_FLUSH_DESTROY) { + LOGSSRV(conn, LOGL_INFO, "Connection is being flushed and closed; ignoring received message\n"); + msgb_free(msg); + if (osmo_iofd_txqueue_len(iofd) == 0) + osmo_stream_srv_destroy(conn); + return; + } - if (res <= 0) { - osmo_stream_srv_set_flush_and_destroy(conn); - if (osmo_iofd_txqueue_len(iofd) == 0) - osmo_stream_srv_destroy(conn); - } else if (conn->iofd_read_cb) { - conn->iofd_read_cb(conn, msg); + if (conn->iofd_read_cb) + conn->iofd_read_cb(conn, msg); + else + msgb_free(msg); } } @@ -552,7 +556,7 @@ struct osmo_stream_srv *conn = osmo_iofd_get_data(iofd); LOGSSRV(conn, LOGL_DEBUG, "connected write\n"); - if (res == -1) + if (res < 0) LOGSSRV(conn, LOGL_ERROR, "error to send: %s\n", strerror(errno)); if (osmo_iofd_txqueue_len(iofd) == 0)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.