Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libsoup for openSUSE:Factory checked in at 2023-05-02 16:18:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsoup (Old) and /work/SRC/openSUSE:Factory/.libsoup.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsoup" Tue May 2 16:18:30 2023 rev:142 rq:1083829 version:3.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libsoup/libsoup.changes 2023-04-22 21:57:44.524241323 +0200 +++ /work/SRC/openSUSE:Factory/.libsoup.new.1533/libsoup.changes 2023-05-02 16:18:31.697633301 +0200 @@ -1,0 +2,6 @@ +Sat Apr 29 19:26:55 UTC 2023 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 3.4.2: + + Revert changes to request cancellation. + +------------------------------------------------------------------- Old: ---- libsoup-3.4.1.tar.xz New: ---- libsoup-3.4.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsoup.spec ++++++ --- /var/tmp/diff_new_pack.mwU6X8/_old 2023-05-02 16:18:32.245636551 +0200 +++ /var/tmp/diff_new_pack.mwU6X8/_new 2023-05-02 16:18:32.249636575 +0200 @@ -18,7 +18,7 @@ %define api_version 3.0 Name: libsoup -Version: 3.4.1 +Version: 3.4.2 Release: 0 Summary: HTTP client/server library for GNOME License: LGPL-2.1-or-later ++++++ libsoup-3.4.1.tar.xz -> libsoup-3.4.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.4.1/NEWS new/libsoup-3.4.2/NEWS --- old/libsoup-3.4.1/NEWS 2023-04-21 03:37:39.000000000 +0200 +++ new/libsoup-3.4.2/NEWS 2023-04-29 19:48:31.000000000 +0200 @@ -1,3 +1,7 @@ +Changes in libsoup from 3.4.1 to 3.4.2: + +* Revert changes to request cancellation [Patrick Griffis] + Changes in libsoup from 3.4.0 to 3.4.1: * Fix HTTP/2 on platforms with unsigned char [Patrick Griffis] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.4.1/libsoup/soup-session.c new/libsoup-3.4.2/libsoup/soup-session.c --- old/libsoup-3.4.1/libsoup/soup-session.c 2023-04-21 03:37:39.000000000 +0200 +++ new/libsoup-3.4.2/libsoup/soup-session.c 2023-04-29 19:48:31.000000000 +0200 @@ -1469,7 +1469,7 @@ if (item->state == SOUP_MESSAGE_REQUEUED) item->state = SOUP_MESSAGE_RESTARTING; - if (item->state != SOUP_MESSAGE_RESTARTING && item->state != SOUP_MESSAGE_FINISHED) { + if (item->state != SOUP_MESSAGE_RESTARTING) { item->state = SOUP_MESSAGE_FINISHING; soup_session_process_queue_item (item->session, item, !item->async); } @@ -1740,9 +1740,6 @@ if (item->paused) return; - if (item->state != SOUP_MESSAGE_FINISHING && g_cancellable_is_cancelled (item->cancellable)) - item->state = SOUP_MESSAGE_FINISHING; - switch (item->state) { case SOUP_MESSAGE_STARTING: if (!soup_session_ensure_item_connection (session, item)) @@ -2910,8 +2907,7 @@ stream = soup_session_send_finish (session, result, &error); if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { soup_cache_cancel_conditional_request (data->cache, data->conditional_msg); - if (data->item->state != SOUP_MESSAGE_FINISHED) - cancel_cache_response (data->item); + cancel_cache_response (data->item); async_cache_conditional_data_free (data); return; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.4.1/meson.build new/libsoup-3.4.2/meson.build --- old/libsoup-3.4.1/meson.build 2023-04-21 03:37:39.000000000 +0200 +++ new/libsoup-3.4.2/meson.build 2023-04-29 19:48:31.000000000 +0200 @@ -1,5 +1,5 @@ project('libsoup', 'c', - version: '3.4.1', + version: '3.4.2', meson_version : '>= 0.54', license : 'LGPL-2.0-or-later', default_options : [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.4.1/tests/misc-test.c new/libsoup-3.4.2/tests/misc-test.c --- old/libsoup-3.4.1/tests/misc-test.c 2023-04-21 03:37:39.000000000 +0200 +++ new/libsoup-3.4.2/tests/misc-test.c 2023-04-29 19:48:31.000000000 +0200 @@ -430,14 +430,6 @@ } static void -ea_message_queued (SoupSession *session, - SoupMessage *msg, - GCancellable *cancellable) -{ - g_cancellable_cancel (cancellable); -} - -static void do_early_abort_test (void) { SoupSession *session; @@ -496,22 +488,6 @@ g_object_unref (cancellable); g_object_unref (msg); soup_test_session_abort_unref (session); - - session = soup_test_session_new (NULL); - msg = soup_message_new_from_uri ("GET", base_uri); - cancellable = g_cancellable_new (); - - g_signal_connect (session, "request-queued", - G_CALLBACK (ea_message_queued), cancellable); - g_assert_null (soup_test_session_async_send (session, msg, cancellable, &error)); - debug_printf (2, " Message 4 completed\n"); - - g_assert_cmpuint (soup_message_get_connection_id (msg), ==, 0); - g_assert_error (error, G_IO_ERROR, G_IO_ERROR_CANCELLED); - g_clear_error (&error); - g_object_unref (cancellable); - g_object_unref (msg); - soup_test_session_abort_unref (session); } static void