Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3.c @ 8775:6e2c23481abb quic
HTTP/3: clean up table from session cleanup handler.
Previously table had a separate cleanup handler.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 28 Apr 2021 11:30:27 +0300 |
parents | f4d3f5d93a82 |
children | 1fec68e322d0 |
comparison
equal
deleted
inserted
replaced
8774:f4d3f5d93a82 | 8775:6e2c23481abb |
---|---|
77 static void | 77 static void |
78 ngx_http_v3_cleanup_session(void *data) | 78 ngx_http_v3_cleanup_session(void *data) |
79 { | 79 { |
80 ngx_http_v3_session_t *h3c = data; | 80 ngx_http_v3_session_t *h3c = data; |
81 | 81 |
82 ngx_http_v3_cleanup_table(h3c); | |
83 | |
82 if (h3c->keepalive.timer_set) { | 84 if (h3c->keepalive.timer_set) { |
83 ngx_del_timer(&h3c->keepalive); | 85 ngx_del_timer(&h3c->keepalive); |
84 } | 86 } |
85 } | 87 } |