diff --git a/tunnels/server/http2/helpers.h b/tunnels/server/http2/helpers.h index 48ec7e7d..0c857612 100644 --- a/tunnels/server/http2/helpers.h +++ b/tunnels/server/http2/helpers.h @@ -57,22 +57,22 @@ static void onStreamLineResumed(void *arg) static void onH2LinePaused(void *arg) { http2_server_con_state_t *con = (http2_server_con_state_t *) arg; - ++(con->pause_counter); - if (con->pause_counter > 8) + // ++(con->pause_counter); + // if (con->pause_counter > 8) + // { + http2_server_child_con_state_t *stream_i; + for (stream_i = con->root.next; stream_i;) { - http2_server_child_con_state_t *stream_i; - for (stream_i = con->root.next; stream_i;) - { - pauseLineUpSide(stream_i->line); - stream_i = stream_i->next; - } + pauseLineUpSide(stream_i->line); + stream_i = stream_i->next; } + // } } static void onH2LineResumed(void *arg) { http2_server_con_state_t *con = (http2_server_con_state_t *) arg; - con->pause_counter = con->pause_counter > 0 ? (con->pause_counter - 1) : con->pause_counter; + // con->pause_counter = con->pause_counter > 0 ? (con->pause_counter - 1) : con->pause_counter; http2_server_child_con_state_t *stream_i; for (stream_i = con->root.next; stream_i;) {