Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libktorrent for openSUSE:Factory 
checked in at 2026-05-11 16:55:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libktorrent (Old)
 and      /work/SRC/openSUSE:Factory/.libktorrent.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libktorrent"

Mon May 11 16:55:03 2026 rev:107 rq:1351756 version:26.04.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libktorrent/libktorrent.changes  2026-04-17 
21:55:36.448740909 +0200
+++ /work/SRC/openSUSE:Factory/.libktorrent.new.1966/libktorrent.changes        
2026-05-11 17:04:33.910645305 +0200
@@ -1,0 +2,10 @@
+Thu May  7 08:03:28 UTC 2026 - Christophe Marin <[email protected]>
+
+- Update to 26.04.1
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/gear/26.04.1/
+- Changes since 26.04.0:
+  * Don't attempt to connect via TCP when configured to only use uTP
+
+-------------------------------------------------------------------

Old:
----
  libktorrent-26.04.0.tar.xz
  libktorrent-26.04.0.tar.xz.sig

New:
----
  libktorrent-26.04.1.tar.xz
  libktorrent-26.04.1.tar.xz.sig

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

Other differences:
------------------
++++++ libktorrent.spec ++++++
--- /var/tmp/diff_new_pack.MO5OQW/_old  2026-05-11 17:04:34.594673489 +0200
+++ /var/tmp/diff_new_pack.MO5OQW/_new  2026-05-11 17:04:34.594673489 +0200
@@ -21,7 +21,7 @@
 
 %bcond_without released
 Name:           libktorrent
-Version:        26.04.0
+Version:        26.04.1
 Release:        0
 Summary:        Torrent Downloading Library
 License:        GPL-2.0-or-later


++++++ libktorrent-26.04.0.tar.xz -> libktorrent-26.04.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libktorrent-26.04.0/CMakeLists.txt 
new/libktorrent-26.04.1/CMakeLists.txt
--- old/libktorrent-26.04.0/CMakeLists.txt      2026-04-08 21:26:42.000000000 
+0200
+++ new/libktorrent-26.04.1/CMakeLists.txt      2026-05-04 15:55:06.000000000 
+0200
@@ -5,7 +5,7 @@
 # KDE Application Version, managed by release script
 set (RELEASE_SERVICE_VERSION_MAJOR "26")
 set (RELEASE_SERVICE_VERSION_MINOR "04")
-set (RELEASE_SERVICE_VERSION_MICRO "0")
+set (RELEASE_SERVICE_VERSION_MICRO "1")
 set (RELEASE_SERVICE_VERSION 
"${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libktorrent-26.04.0/ChangeLog 
new/libktorrent-26.04.1/ChangeLog
--- old/libktorrent-26.04.0/ChangeLog   2026-04-08 21:26:42.000000000 +0200
+++ new/libktorrent-26.04.1/ChangeLog   2026-05-04 15:55:06.000000000 +0200
@@ -1,3 +1,6 @@
+Changes in 26.04.1:
+- Fixed a bug where we would try to connect with TCP even if the only use uTP 
setting was enabled.
+
 Changes in 26.04:
 - Fixed the header file include statements in the API reference docs
 - Renamed the function FileNameToLong to FileNameTooLong
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libktorrent-26.04.0/src/peer/peerconnector.cpp 
new/libktorrent-26.04.1/src/peer/peerconnector.cpp
--- old/libktorrent-26.04.0/src/peer/peerconnector.cpp  2026-04-08 
21:26:42.000000000 +0200
+++ new/libktorrent-26.04.1/src/peer/peerconnector.cpp  2026-05-04 
15:55:06.000000000 +0200
@@ -93,15 +93,16 @@
     bt::TransportProtocol primary = 
ServerInterface::primaryTransportProtocol();
     bool encryption = ServerInterface::isEncryptionEnabled();
     bool utp = ServerInterface::isUtpEnabled();
+    const bool only_use_utp = ServerInterface::onlyUseUtp();
 
     if (encryption) {
-        if (utp && primary == bt::UTP) {
+        if (utp && (primary == bt::UTP || only_use_utp)) {
             d->start(UTP_WITH_ENCRYPTION);
         } else {
             d->start(TCP_WITH_ENCRYPTION);
         }
     } else {
-        if (utp && primary == bt::UTP) {
+        if (utp && (primary == bt::UTP || only_use_utp)) {
             d->start(UTP_WITHOUT_ENCRYPTION);
         } else {
             d->start(TCP_WITHOUT_ENCRYPTION);

Reply via email to