Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package aws-c-http for openSUSE:Factory 
checked in at 2025-06-13 18:47:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aws-c-http (Old)
 and      /work/SRC/openSUSE:Factory/.aws-c-http.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "aws-c-http"

Fri Jun 13 18:47:11 2025 rev:18 rq:1285431 version:0.10.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/aws-c-http/aws-c-http.changes    2025-05-14 
17:02:27.390376193 +0200
+++ /work/SRC/openSUSE:Factory/.aws-c-http.new.19631/aws-c-http.changes 
2025-06-13 18:47:25.451686827 +0200
@@ -1,0 +2,8 @@
+Tue Jun 10 07:03:55 UTC 2025 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Update to 0.10.2
+  * Remove clang-3 from CI by @sbSteveK in (#518)
+  * Stop sending empty data frame when input stream ends but
+    the request stream is not ending. by @TingDaoK in (#520)
+
+-------------------------------------------------------------------

Old:
----
  v0.10.1.tar.gz

New:
----
  v0.10.2.tar.gz

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

Other differences:
------------------
++++++ aws-c-http.spec ++++++
--- /var/tmp/diff_new_pack.mBTRoR/_old  2025-06-13 18:47:26.419726901 +0200
+++ /var/tmp/diff_new_pack.mBTRoR/_new  2025-06-13 18:47:26.419726901 +0200
@@ -20,7 +20,7 @@
 %define library_version 1.0.0
 %define library_soversion 1_0_0
 Name:           aws-c-http
-Version:        0.10.1
+Version:        0.10.2
 Release:        0
 Summary:        C99 implementation of the HTTP/1.1 and HTTP/2 specifications
 License:        Apache-2.0

++++++ v0.10.1.tar.gz -> v0.10.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-c-http-0.10.1/.github/workflows/ci.yml 
new/aws-c-http-0.10.2/.github/workflows/ci.yml
--- old/aws-c-http-0.10.1/.github/workflows/ci.yml      2025-05-08 
19:56:11.000000000 +0200
+++ new/aws-c-http-0.10.2/.github/workflows/ci.yml      2025-06-09 
18:12:18.000000000 +0200
@@ -49,7 +49,6 @@
     strategy:
       matrix:
         compiler:
-          - name: clang-3
           - name: clang-6
           - name: clang-8
           - name: clang-9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-c-http-0.10.1/source/h2_frames.c 
new/aws-c-http-0.10.2/source/h2_frames.c
--- old/aws-c-http-0.10.1/source/h2_frames.c    2025-05-08 19:56:11.000000000 
+0200
+++ new/aws-c-http-0.10.2/source/h2_frames.c    2025-06-09 18:12:18.000000000 
+0200
@@ -378,7 +378,6 @@
     /* Use a sub-buffer to limit where body can go */
     struct aws_byte_buf body_sub_buf =
         aws_byte_buf_from_empty_array(output->buffer + output->len + 
bytes_preceding_body, max_body);
-
     /* Read body into sub-buffer */
     if (aws_input_stream_read(body_stream, &body_sub_buf)) {
         *body_failed = true;
@@ -401,14 +400,14 @@
         if (body_sub_buf.len < body_sub_buf.capacity) {
             /* Body stream was unable to provide as much data as it could have 
*/
             *body_stalled = true;
-
-            if (body_sub_buf.len == 0) {
-                /* This frame would have no useful information, don't even 
bother sending it */
-                goto handle_nothing_to_send_right_now;
-            }
         }
     }
 
+    if (body_sub_buf.len == 0 && !(flags & AWS_H2_FRAME_F_END_STREAM)) {
+        /* This frame would have no useful information, don't even bother 
sending it */
+        goto handle_nothing_to_send_right_now;
+    }
+
     ENCODER_LOGF(
         TRACE,
         encoder,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-c-http-0.10.1/tests/fuzz/fuzz_h2_decoder_correct.c 
new/aws-c-http-0.10.2/tests/fuzz/fuzz_h2_decoder_correct.c
--- old/aws-c-http-0.10.1/tests/fuzz/fuzz_h2_decoder_correct.c  2025-05-08 
19:56:11.000000000 +0200
+++ new/aws-c-http-0.10.2/tests/fuzz/fuzz_h2_decoder_correct.c  2025-06-09 
18:12:18.000000000 +0200
@@ -233,6 +233,11 @@
 
             /* Allow body to exceed available space. Data encoder should just 
write what it can fit */
             struct aws_input_stream *body = 
aws_input_stream_new_from_cursor(allocator, &input);
+            if (input.len == 0) {
+                /* In case of empty body, make sure the end stream flag to be 
set, other wise, no frames should be
+                 * generated to decode. */
+                body_ends_stream = true;
+            }
 
             bool body_complete;
             bool body_stalled;

Reply via email to