summaryrefslogtreecommitdiff
path: root/libsoup/http2/soup-client-message-io-http2.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2022-03-21 15:12:33 +0100
committerCarlos Garcia Campos <cgarcia@igalia.com>2022-03-22 16:35:46 +0100
commit21de809fea982090135a517745e1ba4641bda1c2 (patch)
tree831f2d8f0de305d9e987cd254eb2bdfc0631e23c /libsoup/http2/soup-client-message-io-http2.c
parent0b37e58ab3aaf4e78aa0370eaf5de8489e13072d (diff)
downloadlibsoup-21de809fea982090135a517745e1ba4641bda1c2.tar.gz
http2: stay in read headers state after receiving an informational response
Since we expect more response to come. Add default reason phrase for 103 status to be shown in the logger, but don't expose early hints yet since it's still experimental RFC. Fixes #270
Diffstat (limited to 'libsoup/http2/soup-client-message-io-http2.c')
-rw-r--r--libsoup/http2/soup-client-message-io-http2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libsoup/http2/soup-client-message-io-http2.c b/libsoup/http2/soup-client-message-io-http2.c
index 33869caf..c1f12f28 100644
--- a/libsoup/http2/soup-client-message-io-http2.c
+++ b/libsoup/http2/soup-client-message-io-http2.c
@@ -700,7 +700,6 @@ on_frame_recv_callback (nghttp2_session *session,
if (SOUP_STATUS_IS_INFORMATIONAL (soup_message_get_status (data->msg))) {
soup_message_got_informational (data->msg);
soup_message_cleanup_response (data->msg);
- advance_state_from (data, STATE_READ_HEADERS, STATE_READ_DONE);
io->in_callback--;
return 0;
}