Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nng for openSUSE:Factory checked in 
at 2026-03-15 14:32:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nng (Old)
 and      /work/SRC/openSUSE:Factory/.nng.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nng"

Sun Mar 15 14:32:01 2026 rev:8 rq:1338997 version:1.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/nng/nng.changes  2025-06-13 18:47:42.012372409 
+0200
+++ /work/SRC/openSUSE:Factory/.nng.new.8177/nng.changes        2026-03-15 
14:32:45.200342435 +0100
@@ -1,0 +2,8 @@
+Sat Mar 14 19:23:32 UTC 2026 - Martin Hauke <[email protected]>
+
+- Udpate to version 1.11
+  * Stable branch: fix for clang 19 compiler warnings.
+  * Fix TLS test.
+  * FIX [HTTP] fix a blocking case when freeing http client.
+
+-------------------------------------------------------------------

Old:
----
  nng-1.10.2.tar.gz

New:
----
  nng-1.11.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nng.spec ++++++
--- /var/tmp/diff_new_pack.j1yBLv/_old  2026-03-15 14:32:45.712363512 +0100
+++ /var/tmp/diff_new_pack.j1yBLv/_new  2026-03-15 14:32:45.712363512 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package nng
 #
-# Copyright (c) 2025 SUSE LLC
-# Copyright (c) 2018-2025, Martin Hauke <[email protected]>
+# Copyright (c) 2026 SUSE LLC and contributors
+# Copyright (c) 2018-2026, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 
 %define sover 1
 Name:           nng
-Version:        1.10.2
+Version:        1.11
 Release:        0
 Summary:        Nanomsg NG - brokerless messaging
 License:        MIT

++++++ nng-1.10.2.tar.gz -> nng-1.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nng-1.10.2/include/nng/nng.h 
new/nng-1.11/include/nng/nng.h
--- old/nng-1.10.2/include/nng/nng.h    2025-06-02 16:28:46.000000000 +0200
+++ new/nng-1.11/include/nng/nng.h      2025-06-02 16:33:39.000000000 +0200
@@ -57,8 +57,8 @@
 // We use SemVer, and these versions are about the API, and
 // may not necessarily match the ABI versions.
 #define NNG_MAJOR_VERSION 1
-#define NNG_MINOR_VERSION 10
-#define NNG_PATCH_VERSION 2
+#define NNG_MINOR_VERSION 11
+#define NNG_PATCH_VERSION 0
 // if non-empty (i.e. "pre"), this is a pre-release
 #define NNG_RELEASE_SUFFIX ""
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nng-1.10.2/src/core/aio.c new/nng-1.11/src/core/aio.c
--- old/nng-1.10.2/src/core/aio.c       2025-06-02 16:28:46.000000000 +0200
+++ new/nng-1.11/src/core/aio.c 2025-06-02 16:33:39.000000000 +0200
@@ -72,7 +72,7 @@
 
 static nni_reap_list aio_reap_list = {
        .rl_offset = offsetof(nni_aio, a_reap_node),
-       .rl_func   = (nni_cb) nni_aio_free,
+       .rl_func   = nni_aio_free_cb,
 };
 
 static void nni_aio_expire_add(nni_aio *);
@@ -144,6 +144,12 @@
 }
 
 void
+nni_aio_free_cb(void *aio)
+{
+       nni_aio_free((nni_aio *) aio);
+}
+
+void
 nni_aio_reap(nni_aio *aio)
 {
        if (aio != NULL) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nng-1.10.2/src/core/aio.h new/nng-1.11/src/core/aio.h
--- old/nng-1.10.2/src/core/aio.h       2025-06-02 16:28:46.000000000 +0200
+++ new/nng-1.11/src/core/aio.h 2025-06-02 16:33:39.000000000 +0200
@@ -44,6 +44,7 @@
 // This must only be called on an object that was allocated
 // with nni_aio_allocate.
 extern void nni_aio_free(nni_aio *aio);
+extern void nni_aio_free_cb(void *aio);
 
 // nni_aio_stop cancels any unfinished I/O, running completion callbacks,
 // but also prevents any new operations from starting (nni_aio_start will
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nng-1.10.2/src/sp/transport/tls/tls_tran_test.c 
new/nng-1.11/src/sp/transport/tls/tls_tran_test.c
--- old/nng-1.10.2/src/sp/transport/tls/tls_tran_test.c 2025-06-02 
16:28:46.000000000 +0200
+++ new/nng-1.11/src/sp/transport/tls/tls_tran_test.c   2025-06-02 
16:33:39.000000000 +0200
@@ -1,5 +1,5 @@
 //
-// Copyright 2024 Staysail Systems, Inc. <[email protected]>
+// Copyright 2025 Staysail Systems, Inc. <[email protected]>
 // Copyright 2018 Capitar IT Group BV <[email protected]>
 // Copyright 2018 Devolutions <[email protected]>
 // Copyright 2018 Cody Piersall <[email protected]>
@@ -43,6 +43,7 @@
        NUTS_PASS(nng_tls_config_own_cert(
            c, nuts_client_crt, nuts_client_key, NULL));
        NUTS_PASS(nng_tls_config_ca_chain(c, nuts_server_crt, NULL));
+       NUTS_PASS(nng_tls_config_server_name(c, "localhost"));
        return (c);
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nng-1.10.2/src/supplemental/http/http_client.c 
new/nng-1.11/src/supplemental/http/http_client.c
--- old/nng-1.10.2/src/supplemental/http/http_client.c  2025-06-02 
16:28:46.000000000 +0200
+++ new/nng-1.11/src/supplemental/http/http_client.c    2025-06-02 
16:33:39.000000000 +0200
@@ -168,13 +168,11 @@
 {
        nni_http_client *c = arg;
        nni_mtx_lock(&c->mtx);
+       nni_aio_abort(c->aio, rv);
        if (nni_aio_list_active(aio)) {
                nni_aio_list_remove(aio);
                nni_aio_finish_error(aio, rv);
        }
-       if (nni_list_empty(&c->aios)) {
-               nni_aio_abort(c->aio, rv);
-       }
        nni_mtx_unlock(&c->mtx);
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nng-1.10.2/src/supplemental/http/http_server.c 
new/nng-1.11/src/supplemental/http/http_server.c
--- old/nng-1.10.2/src/supplemental/http/http_server.c  2025-06-02 
16:28:46.000000000 +0200
+++ new/nng-1.11/src/supplemental/http/http_server.c    2025-06-02 
16:33:39.000000000 +0200
@@ -1580,7 +1580,8 @@
 
        rv = 0;
        if (nni_file_is_dir(pn)) {
-               sprintf(dst, "%s%s", NNG_PLATFORM_DIR_SEP, "index.html");
+               snprintf(dst, pnsz - strlen(pn), "%s%s", NNG_PLATFORM_DIR_SEP,
+                   "index.html");
                if (!nni_file_is_file(pn)) {
                        pn[strlen(pn) - 1] = '\0'; // index.html -> index.htm
                        if (!nni_file_is_file(pn)) {

Reply via email to