summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2021-05-24 16:10:53 +0200
committerCarlos Garcia Campos <cgarcia@igalia.com>2021-05-24 16:10:53 +0200
commite02749b4d3b3f26c300b537145c444130022c38a (patch)
tree997273ba94f600736f4bfaab917bca45171ce5a0 /tests
parentc83062d16b04bdcfeb6bb12859ce937ebaa69ba8 (diff)
downloadlibsoup-e02749b4d3b3f26c300b537145c444130022c38a.tar.gz
io-http2: use the item cancellable for send data operations
And use the data source cancellable to create the io source to wait for the send data operations.
Diffstat (limited to 'tests')
-rw-r--r--tests/http2-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/http2-test.c b/tests/http2-test.c
index 13e2e4c6..dd3214a6 100644
--- a/tests/http2-test.c
+++ b/tests/http2-test.c
@@ -314,7 +314,7 @@ do_post_blocked_async_test (Test *test, gconstpointer data)
soup_body_input_stream_http2_add_data (SOUP_BODY_INPUT_STREAM_HTTP2 (in_stream), (guint8*)" Part 2", 8);
soup_body_input_stream_http2_complete (SOUP_BODY_INPUT_STREAM_HTTP2 (in_stream));
}
- g_main_context_iteration (async_context, FALSE);
+ g_main_context_iteration (async_context, TRUE);
}
g_assert_cmpstr (g_bytes_get_data (response, NULL), ==, "Part 1 - Part 2");