Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package aws-crt-cpp for openSUSE:Factory checked in at 2026-09-11 18:04:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aws-crt-cpp (Old) and /work/SRC/openSUSE:Factory/.aws-crt-cpp.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aws-crt-cpp" Fri Sep 11 18:04:25 2026 rev:60 rq:1377336 version:0.43.6 Changes: -------- --- /work/SRC/openSUSE:Factory/aws-crt-cpp/aws-crt-cpp.changes 2026-08-14 22:06:45.312519220 +0200 +++ /work/SRC/openSUSE:Factory/.aws-crt-cpp.new.1265/aws-crt-cpp.changes 2026-09-11 18:07:48.150086241 +0200 @@ -1,0 +2,7 @@ +Fri Sep 11 07:06:42 UTC 2026 - John Paul Adrian Glaubitz <[email protected]> + +- Update to version 0.43.6 + * Fix aws_get_version conflict by @azkrishpy in (#903) + * bind out low speed limit on http client by @sbiscigl in (#905) + +------------------------------------------------------------------- Old: ---- v0.43.5.tar.gz New: ---- v0.43.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aws-crt-cpp.spec ++++++ --- /var/tmp/diff_new_pack.eExYYD/_old 2026-09-11 18:07:48.799113392 +0200 +++ /var/tmp/diff_new_pack.eExYYD/_new 2026-09-11 18:07:48.801113476 +0200 @@ -20,7 +20,7 @@ %define library_soversion 1 Name: aws-crt-cpp -Version: 0.43.5 +Version: 0.43.6 Release: 0 Summary: AWS C++ wrapper for AWS SDK C libraries License: Apache-2.0 ++++++ v0.43.5.tar.gz -> v0.43.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.43.5/CMakeLists.txt new/aws-crt-cpp-0.43.6/CMakeLists.txt --- old/aws-crt-cpp-0.43.5/CMakeLists.txt 2026-08-11 19:52:30.000000000 +0200 +++ new/aws-crt-cpp-0.43.6/CMakeLists.txt 2026-09-09 20:44:58.000000000 +0200 @@ -18,8 +18,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") -include(AwsGetVersion) -aws_get_version(SIMPLE_VERSION FULL_VERSION GIT_HASH) +include(AwsCrtCppGetVersion) +aws_crt_cpp_get_version(SIMPLE_VERSION FULL_VERSION GIT_HASH) message(STATUS "AWS CRT C++ ${FULL_VERSION}") project("aws-crt-cpp" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.43.5/VERSION new/aws-crt-cpp-0.43.6/VERSION --- old/aws-crt-cpp-0.43.5/VERSION 2026-08-11 19:52:30.000000000 +0200 +++ new/aws-crt-cpp-0.43.6/VERSION 2026-09-09 20:44:58.000000000 +0200 @@ -1 +1 @@ -0.43.5 +0.43.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.43.5/cmake/AwsCrtCppGetVersion.cmake new/aws-crt-cpp-0.43.6/cmake/AwsCrtCppGetVersion.cmake --- old/aws-crt-cpp-0.43.5/cmake/AwsCrtCppGetVersion.cmake 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-crt-cpp-0.43.6/cmake/AwsCrtCppGetVersion.cmake 2026-09-09 20:44:58.000000000 +0200 @@ -0,0 +1,58 @@ +function(aws_crt_cpp_get_version var_version_simple var_version_full var_git_hash) + # Simple version is "MAJOR.MINOR.PATCH" from VERSION file + file(READ "${CMAKE_CURRENT_SOURCE_DIR}/VERSION" version_simple) + string(STRIP ${version_simple} version_simple) + set(${var_version_simple} ${version_simple} PARENT_SCOPE) + + # By default, full version is same as simple version. + # But we'll make it more specific later, if we determine that we're not at an exact tagged commit. + set(${var_version_full} ${version_simple} PARENT_SCOPE) + + # Get git hash + aws_git_try("rev-parse HEAD" git_hash git_success) + if (git_success) + set(${var_git_hash} ${git_hash} PARENT_SCOPE) + + # Determine if we're at the exact tagged commit + set(is_exact_version FALSE) + aws_git_try("tag --points-at HEAD" head_tags git_success) + if (git_success) + foreach(tag IN LISTS head_tags) # cmake 3.3+ could use IN_LIST instead + if (tag STREQUAL "v${version_simple}") + set(is_exact_version TRUE) + endif() + endforeach() + endif() + + # Full version should indicate when we're not at the exact tagged commit. + # Be compliant with https://semver.org + if (NOT is_exact_version) + aws_git_try("rev-parse --short=8 HEAD" git_hash_short git_success) + if (git_success) + set(${var_version_full} "${version_simple}-dev+${git_hash_short}" PARENT_SCOPE) + endif() + endif() + endif() +endfunction() + +find_package(Git QUIET) + +function(aws_git_try args var_output var_success) + set(${var_success} FALSE PARENT_SCOPE) + set(${var_output} "" PARENT_SCOPE) + + if (GIT_FOUND) + separate_arguments(args UNIX_COMMAND ${args}) + execute_process(COMMAND ${GIT_EXECUTABLE} ${args} + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} + RESULT_VARIABLE git_result + OUTPUT_VARIABLE git_output + OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_QUIET) + if (git_result EQUAL 0) + string(REPLACE "\n" ";" git_output "${git_output}") + set(${var_success} TRUE PARENT_SCOPE) + set(${var_output} ${git_output} PARENT_SCOPE) + endif() + endif() +endfunction() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.43.5/cmake/AwsGetVersion.cmake new/aws-crt-cpp-0.43.6/cmake/AwsGetVersion.cmake --- old/aws-crt-cpp-0.43.5/cmake/AwsGetVersion.cmake 2026-08-11 19:52:30.000000000 +0200 +++ new/aws-crt-cpp-0.43.6/cmake/AwsGetVersion.cmake 1970-01-01 01:00:00.000000000 +0100 @@ -1,58 +0,0 @@ -function(aws_get_version var_version_simple var_version_full var_git_hash) - # Simple version is "MAJOR.MINOR.PATCH" from VERSION file - file(READ "${CMAKE_CURRENT_SOURCE_DIR}/VERSION" version_simple) - string(STRIP ${version_simple} version_simple) - set(${var_version_simple} ${version_simple} PARENT_SCOPE) - - # By default, full version is same as simple version. - # But we'll make it more specific later, if we determine that we're not at an exact tagged commit. - set(${var_version_full} ${version_simple} PARENT_SCOPE) - - # Get git hash - aws_git_try("rev-parse HEAD" git_hash git_success) - if (git_success) - set(${var_git_hash} ${git_hash} PARENT_SCOPE) - - # Determine if we're at the exact tagged commit - set(is_exact_version FALSE) - aws_git_try("tag --points-at HEAD" head_tags git_success) - if (git_success) - foreach(tag IN LISTS head_tags) # cmake 3.3+ could use IN_LIST instead - if (tag STREQUAL "v${version_simple}") - set(is_exact_version TRUE) - endif() - endforeach() - endif() - - # Full version should indicate when we're not at the exact tagged commit. - # Be compliant with https://semver.org - if (NOT is_exact_version) - aws_git_try("rev-parse --short=8 HEAD" git_hash_short git_success) - if (git_success) - set(${var_version_full} "${version_simple}-dev+${git_hash_short}" PARENT_SCOPE) - endif() - endif() - endif() -endfunction() - -find_package(Git QUIET) - -function(aws_git_try args var_output var_success) - set(${var_success} FALSE PARENT_SCOPE) - set(${var_output} "" PARENT_SCOPE) - - if (GIT_FOUND) - separate_arguments(args UNIX_COMMAND ${args}) - execute_process(COMMAND ${GIT_EXECUTABLE} ${args} - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - RESULT_VARIABLE git_result - OUTPUT_VARIABLE git_output - OUTPUT_STRIP_TRAILING_WHITESPACE - ERROR_QUIET) - if (git_result EQUAL 0) - string(REPLACE "\n" ";" git_output "${git_output}") - set(${var_success} TRUE PARENT_SCOPE) - set(${var_output} ${git_output} PARENT_SCOPE) - endif() - endif() -endfunction() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.43.5/include/aws/crt/http/HttpConnectionManager.h new/aws-crt-cpp-0.43.6/include/aws/crt/http/HttpConnectionManager.h --- old/aws-crt-cpp-0.43.5/include/aws/crt/http/HttpConnectionManager.h 2026-08-11 19:52:30.000000000 +0200 +++ new/aws-crt-cpp-0.43.6/include/aws/crt/http/HttpConnectionManager.h 2026-09-09 20:44:58.000000000 +0200 @@ -57,6 +57,14 @@ * reference to the connection manager. */ bool EnableBlockingShutdown; + + /** + * Enable connection health monitoring. When MinThroughputBytesPerSecond is non-zero, a connection is + * shut down if its throughput stays below the minimum for longer than + * AllowableThroughputFailureIntervalSeconds. Zero (the default) disables monitoring. + */ + uint64_t MinThroughputBytesPerSecond; + uint32_t AllowableThroughputFailureIntervalSeconds; }; /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.43.5/source/http/HttpConnectionManager.cpp new/aws-crt-cpp-0.43.6/source/http/HttpConnectionManager.cpp --- old/aws-crt-cpp-0.43.5/source/http/HttpConnectionManager.cpp 2026-08-11 19:52:30.000000000 +0200 +++ new/aws-crt-cpp-0.43.6/source/http/HttpConnectionManager.cpp 2026-09-09 20:44:58.000000000 +0200 @@ -7,6 +7,7 @@ #include <aws/crt/http/HttpProxyStrategy.h> #include <algorithm> +#include <aws/http/connection.h> #include <aws/http/connection_manager.h> namespace Aws @@ -30,7 +31,8 @@ } HttpClientConnectionManagerOptions::HttpClientConnectionManagerOptions() noexcept - : ConnectionOptions(), MaxConnections(1), EnableBlockingShutdown(false) + : ConnectionOptions(), MaxConnections(1), EnableBlockingShutdown(false), MinThroughputBytesPerSecond(0), + AllowableThroughputFailureIntervalSeconds(0) { } @@ -136,6 +138,16 @@ } managerOptions.host = aws_byte_cursor_from_c_str(connectionOptions.HostName.c_str()); + aws_http_connection_monitoring_options monitoringOptions; + AWS_ZERO_STRUCT(monitoringOptions); + if (m_options.MinThroughputBytesPerSecond > 0) + { + monitoringOptions.minimum_throughput_bytes_per_second = m_options.MinThroughputBytesPerSecond; + monitoringOptions.allowable_throughput_failure_interval_seconds = + m_options.AllowableThroughputFailureIntervalSeconds; + managerOptions.monitoring_options = &monitoringOptions; + } + m_connectionManager = aws_http_connection_manager_new(allocator, &managerOptions); }
