comparison src/http/v3/ngx_http_v3.h @ 9090:7d67fe09bcad quic tip

QUIC: style.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 11 May 2023 18:48:01 +0300
parents c851a2ed5ce8
children
comparison
equal deleted inserted replaced
9089:b9230e37b8a1 9090:7d67fe09bcad
83 : (c)->data)) 83 : (c)->data))
84 84
85 #define ngx_http_v3_get_session(c) ngx_http_quic_get_connection(c)->v3_session 85 #define ngx_http_v3_get_session(c) ngx_http_quic_get_connection(c)->v3_session
86 86
87 #define ngx_http_v3_get_module_loc_conf(c, module) \ 87 #define ngx_http_v3_get_module_loc_conf(c, module) \
88 ngx_http_get_module_loc_conf(ngx_http_quic_get_connection(c)->conf_ctx, \ 88 ngx_http_get_module_loc_conf(ngx_http_quic_get_connection(c)->conf_ctx, \
89 module) 89 module)
90 90
91 #define ngx_http_v3_get_module_srv_conf(c, module) \ 91 #define ngx_http_v3_get_module_srv_conf(c, module) \
92 ngx_http_get_module_srv_conf(ngx_http_quic_get_connection(c)->conf_ctx, \ 92 ngx_http_get_module_srv_conf(ngx_http_quic_get_connection(c)->conf_ctx, \
93 module) 93 module)
94 94
95 #define ngx_http_v3_finalize_connection(c, code, reason) \ 95 #define ngx_http_v3_finalize_connection(c, code, reason) \
96 ngx_quic_finalize_connection((c)->quic ? (c)->quic->parent : (c), \ 96 ngx_quic_finalize_connection((c)->quic ? (c)->quic->parent : (c), \
97 code, reason) 97 code, reason)