Klaus Demo nginx / 8b40f1e
HTTP/2: cleaned up state while closing stream. Without this the state might keep pointing to already closed stream. Valentin Bartenev 6 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
36603660 }
36613661 }
36623662
3663 if (h2c->state.stream == stream) {
3664 h2c->state.stream = NULL;
3665 }
3666
36633667 node->stream = NULL;
36643668
36653669 ngx_queue_insert_tail(&h2c->closed, &node->reuse);