Commit 663be1d9 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos
Browse files

io-http2: do not try to poll for sync requests

parent f0a1691c
Pipeline #286302 passed with stages
in 5 minutes and 27 seconds
......@@ -604,7 +604,7 @@ on_stream_close_callback (nghttp2_session *session,
if (error_code == NGHTTP2_REFUSED_STREAM && data->state < STATE_READ_DATA)
data->can_be_restarted = TRUE;
if (data->state < STATE_READ_DATA && !data->in_run_until_read_async) {
if (data->state < STATE_READ_DATA && data->task && !data->in_run_until_read_async) {
/* Start polling the decoded data stream instead of the network input stream. */
if (data->io_source) {
g_source_destroy (data->io_source);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment