diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2020-10-16 14:26:05 +0200 |
---|---|---|
committer | Carlos Garcia Campos <cgarcia@igalia.com> | 2020-10-26 10:21:15 +0100 |
commit | 83735da1c001c946df6c14bd7659a615739e8cb8 (patch) | |
tree | 179cfd130c42b58c1c76aa406a2a4d325ef8847a /tests/cookies-test.c | |
parent | 17d751486955149b52b25c05a4a53307cdc36ab7 (diff) | |
download | libsoup-83735da1c001c946df6c14bd7659a615739e8cb8.tar.gz |
session: add io priority parameter to soup_session_send_async()
And use it for the all the IO async operations where possible.
Diffstat (limited to 'tests/cookies-test.c')
-rw-r--r-- | tests/cookies-test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cookies-test.c b/tests/cookies-test.c index 163f4f42..3986191d 100644 --- a/tests/cookies-test.c +++ b/tests/cookies-test.c @@ -410,7 +410,8 @@ do_remove_feature_test (void) soup_message_set_first_party (msg, first_party_uri); loop = g_main_loop_new (NULL, TRUE); - soup_session_send_async (session, msg, NULL, (GAsyncReadyCallback)send_callback, loop); + soup_session_send_async (session, msg, G_PRIORITY_DEFAULT, NULL, + (GAsyncReadyCallback)send_callback, loop); soup_session_remove_feature_by_type (session, SOUP_TYPE_COOKIE_JAR); g_main_loop_run(loop); |