From 08fcd308ddba8ab575ee257df37b02420f885a510bdc9753a011c7c8c8ddb7a3 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Wed, 14 May 2025 08:42:50 +0000 Subject: [PATCH 1/2] - Update to 0.10.0 * Fix initial settings for h2 by @TingDaoK in (#513) * Update h2 windowing algo and http client benchmark by @TingDaoK in (#388) + Batching up the window update frame until the window size drops below the threshold for both manual and auto window management + Initial window size now be required for HTTP/2 connection on manual window management now. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aws-c-http?expand=0&rev=61 --- .gitattributes | 23 ++ .gitignore | 1 + ach_fix-cmake-modules-path.patch | 44 ++++ aws-c-http.changes | 417 +++++++++++++++++++++++++++++++ aws-c-http.spec | 94 +++++++ v0.10.0.tar.gz | 3 + v0.8.10.tar.gz | 3 + v0.8.2.tar.gz | 3 + v0.8.4.tar.gz | 3 + v0.8.5.tar.gz | 3 + v0.8.8.tar.gz | 3 + v0.9.0.tar.gz | 3 + v0.9.1.tar.gz | 3 + v0.9.2.tar.gz | 3 + v0.9.3.tar.gz | 3 + v0.9.4.tar.gz | 3 + v0.9.5.tar.gz | 3 + v0.9.7.tar.gz | 3 + 18 files changed, 618 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ach_fix-cmake-modules-path.patch create mode 100644 aws-c-http.changes create mode 100644 aws-c-http.spec create mode 100644 v0.10.0.tar.gz create mode 100644 v0.8.10.tar.gz create mode 100644 v0.8.2.tar.gz create mode 100644 v0.8.4.tar.gz create mode 100644 v0.8.5.tar.gz create mode 100644 v0.8.8.tar.gz create mode 100644 v0.9.0.tar.gz create mode 100644 v0.9.1.tar.gz create mode 100644 v0.9.2.tar.gz create mode 100644 v0.9.3.tar.gz create mode 100644 v0.9.4.tar.gz create mode 100644 v0.9.5.tar.gz create mode 100644 v0.9.7.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ach_fix-cmake-modules-path.patch b/ach_fix-cmake-modules-path.patch new file mode 100644 index 0000000..63f3c41 --- /dev/null +++ b/ach_fix-cmake-modules-path.patch @@ -0,0 +1,44 @@ +diff -Nru aws-c-http-0.6.7.orig/CMakeLists.txt aws-c-http-0.6.7/CMakeLists.txt +--- aws-c-http-0.6.7.orig/CMakeLists.txt 2021-09-22 20:39:33.000000000 +0000 ++++ aws-c-http-0.6.7/CMakeLists.txt 2021-10-12 09:52:05.904419768 +0000 +@@ -15,17 +15,12 @@ + file(TO_CMAKE_PATH "${CMAKE_INSTALL_PREFIX}" CMAKE_INSTALL_PREFIX) + endif() + +-if (UNIX AND NOT APPLE) +- include(GNUInstallDirs) +-elseif(NOT DEFINED CMAKE_INSTALL_LIBDIR) +- set(CMAKE_INSTALL_LIBDIR "lib") +-endif() ++find_package(aws-c-common REQUIRED) ++find_package(aws-checksums REQUIRED) ++set(CMAKE_MODULE_PATH ${aws-c-common_DIR}) + +-# This is required in order to append /lib/cmake to each element in CMAKE_PREFIX_PATH +-set(AWS_MODULE_DIR "/${CMAKE_INSTALL_LIBDIR}/cmake") +-string(REPLACE ";" "${AWS_MODULE_DIR};" AWS_MODULE_PATH "${CMAKE_PREFIX_PATH}${AWS_MODULE_DIR}") +-# Append that generated list to the module search path +-list(APPEND CMAKE_MODULE_PATH ${AWS_MODULE_PATH}) ++list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/modules") ++include(GNUInstallDirs) + + include(AwsCFlags) + include(AwsCheckHeaders) +@@ -83,7 +78,7 @@ + endif() + + install(EXPORT "${PROJECT_NAME}-targets" +- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/${TARGET_DIR}/" ++ DESTINATION "${LIB_INSTALL_DIR}/cmake/${CMAKE_PROJECT_NAME}/${TARGET_DIR}/" + NAMESPACE AWS:: + COMPONENT Development) + +@@ -92,7 +87,7 @@ + @ONLY) + + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake" +- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/" ++ DESTINATION "${LIB_INSTALL_DIR}/cmake/${CMAKE_PROJECT_NAME}" + COMPONENT Development) + + include(CTest) diff --git a/aws-c-http.changes b/aws-c-http.changes new file mode 100644 index 0000000..fa79224 --- /dev/null +++ b/aws-c-http.changes @@ -0,0 +1,417 @@ +------------------------------------------------------------------- +Wed May 7 11:32:42 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.10.0 + * Fix initial settings for h2 by @TingDaoK in (#513) + * Update h2 windowing algo and http client benchmark by @TingDaoK in (#388) + + Batching up the window update frame until the window size drops + below the threshold for both manual and auto window management + + Initial window size now be required for HTTP/2 connection on + manual window management now. + +------------------------------------------------------------------- +Sun Apr 20 12:48:14 UTC 2025 - Andreas Stieger + +- update to 0.9.7: + * fix: H2 manual write triggers the stream complete test + * make exports more consistent + * report the error back to write complete +- minor spec file tweaks + +------------------------------------------------------------------- +Wed Apr 2 14:55:22 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.9.6 + * Fix Error Handling For Connection Manager by @waahm7 in (#507) + * h1_decoder error on multiple content-length headers by @quinnj in (#509) + * Apple Network Framework Support by @xiazhvera in (#502) + +------------------------------------------------------------------- +Tue Mar 18 08:27:02 UTC 2025 - John Paul Adrian Glaubitz + +- Update to version 0.9.5 + * HTTP/1: Support streaming requests of unknown length + by @graebm in (#506) + +------------------------------------------------------------------- +Wed Mar 12 06:54:32 UTC 2025 - John Paul Adrian Glaubitz + +- Update to version 0.9.4 + * Some trivial fixup on tests by @graebm in (#503) + * Move h1_stream variables, to make thread usage more explicit + by @graebm in (#504) + * Supprt response_first_byte_timeout_ms in ConnectionManagerOptions + by @waahm7 in (#505) + +------------------------------------------------------------------- +Thu Jan 30 11:43:07 UTC 2025 - John Paul Adrian Glaubitz + +- Update to version 0.9.3 + * Switch CI to use roles by @DmitriyMusatkin in (#494) + * Fix CI for GCC-13 on Ubuntu-18 by @waahm7 in (#496) + * A bunch of CMake fixes by @graebm in (#497) +- Drop ach_fix-cmake-modules-path.patch, fixed upstream + +------------------------------------------------------------------- +Thu Nov 14 12:36:20 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.9.2 + * Update for event loop API changes by @bretambrose in (#491) + +------------------------------------------------------------------- +Tue Nov 12 12:59:30 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.9.1 + * chore: Modified bug issue template to add checkbox to + report potential regression. by @ashishdhingra in (#486) + * Add cxx support by @subdiox in (#490) + +------------------------------------------------------------------- +Thu Oct 24 12:41:21 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.9.0 + * Tweak error message for AWS_ERROR_HTTP_RESPONSE_FIRST_BYTE_TIMEOUT + by @graebm in (#488) + * Update CMake to 3.9 by @waahm7 in (#489) + +------------------------------------------------------------------- +Tue Sep 17 10:38:23 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.8.10 + * Increase timeout for http integration tests by @TingDaoK in (#487) +- from version 0.8.9 + * Fix max_pending_connection_acquisitions to respect connection + pool size by @waahm7 in (#485) + +------------------------------------------------------------------- +Mon Aug 26 15:08:03 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.8.8 + * Fix websocket shutdown behavior by @TingDaoK in (#483) +- from version 0.8.7 + * Connection shutdown with buffered data by @TingDaoK in (#482) + +------------------------------------------------------------------- +Wed Aug 7 13:24:54 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.8.6 + * Connection Manager Acquisition Timeout by @waahm7 in (#479) + * Support MaxPendingConnectionAcquisitions by @waahm7 in (#481) + +------------------------------------------------------------------- +Wed Jul 31 09:20:59 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.8.5 + * Update MacOS to arm64 by @waahm7 in (#476) + * Update stale issue bot permissions by @jmklix in (#478) + * Adapt change from "TLS deliver buffer data during shutdown" + by @TingDaoK in (#474) + +------------------------------------------------------------------- +Mon Jul 15 10:50:26 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.8.4 + * Mark the network interface API experimental by @waahm7 in (#475) +- from version 0.8.3 + * clang-format 18 by @graebm in (#469) + * Bind to a list of Network Interfaces by @waahm7 in (#471) + +------------------------------------------------------------------- +Wed Jun 5 09:52:17 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.8.2 + * Mark some missing Network tests as net_tests. by @waahm7 in (#465) + * Add test where connection shuts down before response completes + by @graebm in (#468) + +------------------------------------------------------------------- +Tue Feb 20 11:14:07 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + +------------------------------------------------------------------- +Mon Feb 19 15:24:29 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.8.1 + * Minor GitHub workflow changes by @kellertk in (#461) + * Fix a bunch of places we forget to aws_raise_error() by @graebm in (#462) + * API to query http server listener endpoint by @bretambrose in (#463) + +------------------------------------------------------------------- +Wed Jan 3 13:25:59 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.8.0 + * Correct the doc about unactivated stream and add test by @TingDaoK in (#460) + * Change `port` from uint16_t to uint32_t to support VSOCK by @graebm in (#457) +- from version 0.7.15 + * sizeof('c') == 4, not 1: Fix overallocation by @nabijaczleweli in (#459) + * Add support for cancel stream by @TingDaoK in (#458) + +------------------------------------------------------------------- +Tue Nov 21 09:16:29 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.14 + * system vtables: Use full function names, + for better grepping by @graebm in (#454) + * Request idle timeout by @TingDaoK in (#456) + +------------------------------------------------------------------- +Fri Sep 22 10:29:08 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.13 + * Added workflow for handling answerable discussions by @yasminetalby in (#449) + * Remove unused headers code in elasticurl by @quinnj in (#452) + * Update CERT by @waahm7 in (#453) + +------------------------------------------------------------------- +Wed Aug 30 07:56:46 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.12 + * Explicit Private for target_link_libraries by @waahm7 in (#450) + +------------------------------------------------------------------- +Wed Jul 12 06:06:47 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.11 + * Skip empty string for proxy env var by @TingDaoK in (#446) + +------------------------------------------------------------------- +Wed Jun 7 11:14:22 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.10 + * Adapt to aws_future changes by @graebm in (#445) + +------------------------------------------------------------------- +Mon Jun 5 10:54:10 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.9 + * Move to postman-echo.com from httpbin.org by @waahm7 in (#442) + * Update time to ancient by @jmklix in (#441) + * aws_future by @graebm in (#443) + * Use latest aws-crt-builder by @graebm in (#444) + +------------------------------------------------------------------- +Tue May 16 09:11:10 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.8 + * Add github templates and bots by @jmklix in (#436) + * Update builder version to fix aws-lc build on manylinux1 by @TingDaoK in (#437) + * Fix compiler warnings about missing void by @graebm in (#438) + * HTTP stream telemetry api by @TingDaoK in (#433) + * Fix warnings in public headers by @waahm7 in (#440) + +------------------------------------------------------------------- +Tue Apr 18 11:55:48 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.7 + * Support for host resolution override per + connection by @bretambrose in (#434) + +------------------------------------------------------------------- +Fri Mar 24 11:42:59 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.6 + * Skip local server setup when tests are disabled by @graebm in (#429) + * Remove sanitizer blacklist by @DmitriyMusatkin in (#432) + * Throw better errors for h2 manual write instead + of invalid state error by @waahm7 in (#430) + * Handle connection close corner case by @TingDaoK in (#431) + +------------------------------------------------------------------- +Wed Mar 1 10:31:43 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.5 + * Change #if _MSC_VER to #ifdef _MSC_VER by @jmklix in (#427) + +------------------------------------------------------------------- +Mon Feb 6 13:40:27 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.4 + * Proxy config new crash by @TingDaoK in (#423) + * Adapt to renamed class from aws-c-common by @graebm in (#422) + * Add ProxyConfig new from ProxyOptions & TLS info by @waahm7 in (#421) + +------------------------------------------------------------------- +Mon Jan 16 14:18:02 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.3 + * Stop hitting example.com in tests by @graebm in (#420) +- from version 0.7.2 + * Fix http2 manual write by @waahm7 in (#419) + +------------------------------------------------------------------- +Wed Jan 4 13:45:31 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.7.1 + * Fix macro usage by @DmitriyMusatkin in (#411) + * Revise "Better helper functions for querying header + values (#412)" by @graebm in (#414) + * Validate websocket handshake response by @graebm in (#410) + * More websocket handshake validation by @graebm in (#415) + * Improve websocket error reporting by @graebm in (#416) + * Websocket automatically responds to PING with PONG by @graebm in (#417) + * Websocket: Validate UTF-8 in text payloads by @graebm in (#418) + +------------------------------------------------------------------- +Fri Dec 23 19:18:06 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.7.0 + * Breaking change to websocket API: setup callback + can report body of response by @graebm in (#409) +- from version 0.6.29 + * Add ref-counting to aws_websocket by @graebm in (#405) + * Proxy h2 by @TingDaoK in (#402) + * Test coverage by @TingDaoK in (#406) + * Only "data" frames affect websocket's + read window now by @graebm in (#407) + * Add notes documentation for headers by @TingDaoK in (#408) + +------------------------------------------------------------------- +Tue Dec 6 10:59:48 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.6.28 + * Replace s_cat with `aws_byte_buf_append_dynamic` by @TingDaoK in (#404) + * WebSocket ref-counts its HTTP request by @graebm in (#403) + +------------------------------------------------------------------- +Tue Nov 15 10:46:02 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.6.27 + * Localhost test MAC by @TingDaoK in (#398) + * Update CI by @waahm7 in (#396) + +------------------------------------------------------------------- +Fri Nov 11 13:12:48 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.6.26 + * Localhost test mac by @TingDaoK in (#398) + * Update CI by @waahm7 in (#396) +- from version 0.6.25 + * sprintf() -> snprintf() by @graebm in (#397) + * Fix C++ One Definition Rules (ODR) Violations by @graebm in (#399) + +------------------------------------------------------------------- +Wed Nov 2 09:09:42 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.6.24 + * Empty path by @DmitriyMusatkin in (#395) +- from version 0.6.23 + * Event loop pin by @bretambrose in (#391) + +------------------------------------------------------------------- +Mon Oct 17 10:39:35 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.6.22 + * Added leased_concurrency to metrics and instrumented http connection + manager and stream managers. by @JonathanHenson in (#392) + +------------------------------------------------------------------- +Wed Oct 5 13:17:41 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.6.21 + * Add AppVerifier to CI by @TwistedTwigleg in (#389) + * Destroy callback for http stream by @TingDaoK in (#390) + +------------------------------------------------------------------- +Fri Sep 2 09:39:45 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.6.20 + * Split up hpack.c by @graebm in (#385) + * Proposal for moving websocket frame write completions from + on-send-downstream to on-socket-write-completion by @bretambrose + in (#367) + * Fallback for target load by @TingDaoK in (#387) + +------------------------------------------------------------------- +Mon Aug 8 09:16:28 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.6.19 + * HTTP/2 Stream Manager dead lock fix + + Fix the dead lock for stream manager by @TingDaoK in (#384) +- from version 0.6.18 + * HTTP/2 Stream Manager new functions + + Stream manager prior knowledge by @TingDaoK in (#380) + + Edit some code for clarity by @graebm in (#382) + + More Protocol verification by @TingDaoK in (#378) + + Support close on server error and period ping for + stream manager by @TingDaoK in (#381) + +------------------------------------------------------------------- +Thu Jul 14 12:51:28 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.6.17 + * Stream manager test with body by @TingDaoK in (#376) + * Added aws_http2_stream_write_data, allowing H2 data frames + to be written at any time by @justinboswell in (#338) + * H2 monitor by @TingDaoK in (#377) +- from version 0.6.16 + * Build a local echo server and test against it. by @TingDaoK in (#373) + * More local host test by @TingDaoK in (#375) + * h2 stream callback not kill connection by @TingDaoK in (#364) + * Metric for manager by @TingDaoK in (#370) + +------------------------------------------------------------------- +Thu May 19 11:30:18 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.6.15 + * Silence "variable set but not used" warnings by @graebm in (#374) + * refcount input stream by @TingDaoK in (#342) +- from version 0.6.14 + * Update to latest builder by @bretambrose in (#368) + * Fix our CI ignores branches that have "/" in name by @TingDaoK in (#371) + * Flow control window update by @TingDaoK in (#372) + * HTTP/2 integration tests - Part 1 by @TingDaoK in (#365) +- from version 0.6.13 + * Mark h2 tests as net tests +- from version 0.6.12 + * Bugfix: the refcount for connection manager will pop up from zero + in some situation from the culling task, which will cause destroy + to happen twice and crash. +- from version 0.6.11 + * Introduce HTTP/2 stream manager + +------------------------------------------------------------------- +Thu Dec 9 12:16:46 UTC 2021 - John Paul Adrian Glaubitz + +- Update to version 0.6.10 + * HTTP/2 Message support + + Support HTTP/2 message type, instead of translating all the + request to HTTP/2 format + + BUGFIX: raise proper error when reaching max concurrent stream. +- from version 0.6.9 + * Const added to members, chunked trailer support to HTTP/1, HTTP/2 headers + + HTTP2/ headers + - Pseudo headers are pushed into the front of the array list, and other + than that, it will be treated the same as normal headers + - Trade off: + * We know that push front to the array list is expensive. But, it should + be used only few times, as you don't want to change pseudo headers a + lot and there are at most 4 of them. More than that, we don't need to + do the push front later when we need to send the headers into the wire. + * The advantage of it is that we will have the mostly the same behavior + as netty, which is used by Java SDK team already. + * `add` will push the pseudo header to the front of the list when needed + (the last header is NOT pseudo header) + + Chunked trailer + - Add chunked trailer support to HTTP/1 + + Const changes + - const added to aws_socket_options + - const added to aws_http_proxy_options + - const added to aws_tls_connection_options +- from version 0.6.8 + * Removed OOM conditions/tests + + Removed OOM test, since that's no longer allowed (#343) + +------------------------------------------------------------------- +Tue Oct 12 12:42:24 UTC 2021 - Jan Engelhardt + +- Trim conjecture and redundant metadata from description. +- Use cmake()/pkgconfig() as buildrequires. Update descriptions. +- Replace %-bin subpackage by just %, and lib%-devel by %-devel. + +------------------------------------------------------------------- +Tue Oct 12 09:55:26 UTC 2021 - John Paul Adrian Glaubitz + +- Initial release + + Version 0.6.7 diff --git a/aws-c-http.spec b/aws-c-http.spec new file mode 100644 index 0000000..079e7b7 --- /dev/null +++ b/aws-c-http.spec @@ -0,0 +1,94 @@ +# +# spec file for package aws-c-http +# +# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 Andreas Stieger +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define library_version 1.0.0 +%define library_soversion 1_0_0 +Name: aws-c-http +Version: 0.10.0 +Release: 0 +Summary: C99 implementation of the HTTP/1.1 and HTTP/2 specifications +License: Apache-2.0 +Group: Development/Libraries/C and C++ +URL: https://github.com/awslabs/aws-c-http +Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz +BuildRequires: cmake +BuildRequires: fdupes +BuildRequires: ninja +BuildRequires: pkgconfig +BuildRequires: cmake(aws-c-cal) +BuildRequires: cmake(aws-c-common) +BuildRequires: cmake(aws-c-compression) +BuildRequires: cmake(aws-c-io) +BuildRequires: cmake(s2n) +BuildRequires: pkgconfig(libcrypto) + +%description +C99 implementation of the HTTP/1.1 and HTTP/2 specifications. + +%package -n lib%{name}%{library_soversion} +Summary: C99 implementation of the HTTP/1.1 and HTTP/2 specifications +Group: System/Libraries + +%description -n lib%{name}%{library_soversion} +C99 implementation of the HTTP/1.1 and HTTP/2 specifications. + +This package contains the dynamically linked library. + +%package devel +Summary: Development files for aws-c-http library +Group: Development/Libraries/C and C++ +Requires: lib%{name}%{library_soversion} = %{version} + +%description devel +C99 implementation of the HTTP/1.1 and HTTP/2 specifications. + +This package contains the development files. + +%prep +%autosetup -p1 + +%build +%define __builder ninja +%cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_MODULE_PATH=%{_libdir}/cmake \ + %{nil} +%cmake_build + +%install +%cmake_install + +%ldconfig_scriptlets -n lib%{name}%{library_soversion} + +%files +%license LICENSE +%{_bindir}/* + +%files -n lib%{name}%{library_soversion} +%doc README.md +%license LICENSE +%{_libdir}/*.so.%{library_version} + +%files devel +%license LICENSE +%{_libdir}/cmake/ +%{_libdir}/*.so +%{_includedir}/* + +%changelog diff --git a/v0.10.0.tar.gz b/v0.10.0.tar.gz new file mode 100644 index 0000000..10c4a63 --- /dev/null +++ b/v0.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7881e2f9af1a2e114b4147be80d70480f06af2b9cd195e8448afb750c74b1ae +size 489887 diff --git a/v0.8.10.tar.gz b/v0.8.10.tar.gz new file mode 100644 index 0000000..4fd549b --- /dev/null +++ b/v0.8.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f878802a4e0bcefadce9959ce443acaf77607a68d138f9d3db04a5a878f1a871 +size 476172 diff --git a/v0.8.2.tar.gz b/v0.8.2.tar.gz new file mode 100644 index 0000000..417b87e --- /dev/null +++ b/v0.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a76ba75e59e1ac169df3ec00c0d1c453db1a4db85ee8acd3282a85ee63d6b31c +size 470706 diff --git a/v0.8.4.tar.gz b/v0.8.4.tar.gz new file mode 100644 index 0000000..06ed9b3 --- /dev/null +++ b/v0.8.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0331af393325bc653e007aa3fbda0a8f31c0724101e3d3d84017c3fe819c74ee +size 472399 diff --git a/v0.8.5.tar.gz b/v0.8.5.tar.gz new file mode 100644 index 0000000..ec8ac5e --- /dev/null +++ b/v0.8.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8bacb3495ae6ef09441092c237d881a83c7754e18b10d252e8b03b7e8308814 +size 473127 diff --git a/v0.8.8.tar.gz b/v0.8.8.tar.gz new file mode 100644 index 0000000..6721952 --- /dev/null +++ b/v0.8.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c3a4a6845653c1b01162968f936c31aea6b25d3a0bdbf050b2342b8b94fcca6 +size 475882 diff --git a/v0.9.0.tar.gz b/v0.9.0.tar.gz new file mode 100644 index 0000000..4a8e2e0 --- /dev/null +++ b/v0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ffba3a208e605ed247a130e2986f9d524283faf85f26da3452aac878ecefdfa2 +size 476083 diff --git a/v0.9.1.tar.gz b/v0.9.1.tar.gz new file mode 100644 index 0000000..93132ad --- /dev/null +++ b/v0.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cf14429abbcd838937d7e677a3be832c0167bc88119e9d7de9c5184e05b8dd5 +size 476652 diff --git a/v0.9.2.tar.gz b/v0.9.2.tar.gz new file mode 100644 index 0000000..a6bd290 --- /dev/null +++ b/v0.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:328013ebc2b5725326cac01941041eec1e1010058c60709da2c23aa8fb967370 +size 476594 diff --git a/v0.9.3.tar.gz b/v0.9.3.tar.gz new file mode 100644 index 0000000..202e51e --- /dev/null +++ b/v0.9.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63061321fd3234a4f8688cff1a6681089321519436a5f181e1bcb359204df7c8 +size 477580 diff --git a/v0.9.4.tar.gz b/v0.9.4.tar.gz new file mode 100644 index 0000000..0787edb --- /dev/null +++ b/v0.9.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2282067c4eb0bd07f632facb52c98bb6380f74410bc8640256e9490b66a2d582 +size 477607 diff --git a/v0.9.5.tar.gz b/v0.9.5.tar.gz new file mode 100644 index 0000000..7fde987 --- /dev/null +++ b/v0.9.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbdb8411b439677f302d3a3b4691e2dc1852e69f406d3c2fced2be95ae2397f9 +size 480441 diff --git a/v0.9.7.tar.gz b/v0.9.7.tar.gz new file mode 100644 index 0000000..1de0881 --- /dev/null +++ b/v0.9.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18cb2a19a7cd80eafc4c29e6845ec97135a381a1e32fc848bdb8340cc747204a +size 481942 From 0c5adbab401dc35718a0736ae404e89657d670dad607b0a66f4861c91cacd630 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Wed, 14 May 2025 08:55:43 +0000 Subject: [PATCH 2/2] - Update to 0.10.1 * Fix mock server window update on 0 length body by @TingDaoK in (#517) OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aws-c-http?expand=0&rev=62 --- aws-c-http.changes | 6 ++++++ aws-c-http.spec | 2 +- v0.10.0.tar.gz | 3 --- v0.10.1.tar.gz | 3 +++ 4 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 v0.10.0.tar.gz create mode 100644 v0.10.1.tar.gz diff --git a/aws-c-http.changes b/aws-c-http.changes index fa79224..a6e76c4 100644 --- a/aws-c-http.changes +++ b/aws-c-http.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 14 08:51:46 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.10.1 + * Fix mock server window update on 0 length body by @TingDaoK in (#517) + ------------------------------------------------------------------- Wed May 7 11:32:42 UTC 2025 - John Paul Adrian Glaubitz diff --git a/aws-c-http.spec b/aws-c-http.spec index 079e7b7..b5f08ef 100644 --- a/aws-c-http.spec +++ b/aws-c-http.spec @@ -20,7 +20,7 @@ %define library_version 1.0.0 %define library_soversion 1_0_0 Name: aws-c-http -Version: 0.10.0 +Version: 0.10.1 Release: 0 Summary: C99 implementation of the HTTP/1.1 and HTTP/2 specifications License: Apache-2.0 diff --git a/v0.10.0.tar.gz b/v0.10.0.tar.gz deleted file mode 100644 index 10c4a63..0000000 --- a/v0.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7881e2f9af1a2e114b4147be80d70480f06af2b9cd195e8448afb750c74b1ae -size 489887 diff --git a/v0.10.1.tar.gz b/v0.10.1.tar.gz new file mode 100644 index 0000000..05dc377 --- /dev/null +++ b/v0.10.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1550f7bf9666bb8f86514db9e623f07249e3c53e868d2f36ff69b83bd3eadfec +size 489620