summaryrefslogtreecommitdiff
path: root/tests/http2-test.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2021-05-24 11:14:28 +0200
committerCarlos Garcia Campos <cgarcia@igalia.com>2021-05-24 12:50:54 +0200
commitf9d7987fae5c36769ddebc01b21ebe3424a6b71b (patch)
treed36800cfc8d4c33220748f66988d8c875a23aa78 /tests/http2-test.c
parent3033e87b9fe1cf97ccf87e875c0f67a6ff8f7347 (diff)
downloadlibsoup-f9d7987fae5c36769ddebc01b21ebe3424a6b71b.tar.gz
io-http2: fix io source to not be always dispatched for non-paused messages
message_source_check should return FALSE unless the source was created for a paused message that is no longer paused.
Diffstat (limited to 'tests/http2-test.c')
-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 dd3214a6..13e2e4c6 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, TRUE);
+ g_main_context_iteration (async_context, FALSE);
}
g_assert_cmpstr (g_bytes_get_data (response, NULL), ==, "Part 1 - Part 2");