Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_module.c @ 8492:65c1fc5fae15 quic
HTTP/3: renamed server configuration variables from v3cf to h3scf.
Now they are similar to HTTP/2 where they are called h2scf.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 23 Jul 2020 13:12:01 +0300 |
parents | 0d2b2664b41c |
children | e533a352d118 |
comparison
equal
deleted
inserted
replaced
8491:6e1798a4a0d2 | 8492:65c1fc5fae15 |
---|---|
125 | 125 |
126 | 126 |
127 static void * | 127 static void * |
128 ngx_http_v3_create_srv_conf(ngx_conf_t *cf) | 128 ngx_http_v3_create_srv_conf(ngx_conf_t *cf) |
129 { | 129 { |
130 ngx_http_v3_srv_conf_t *v3cf; | 130 ngx_http_v3_srv_conf_t *h3scf; |
131 | 131 |
132 v3cf = ngx_pcalloc(cf->pool, sizeof(ngx_http_v3_srv_conf_t)); | 132 h3scf = ngx_pcalloc(cf->pool, sizeof(ngx_http_v3_srv_conf_t)); |
133 if (v3cf == NULL) { | 133 if (h3scf == NULL) { |
134 return NULL; | 134 return NULL; |
135 } | 135 } |
136 | 136 |
137 v3cf->max_field_size = NGX_CONF_UNSET_SIZE; | 137 h3scf->max_field_size = NGX_CONF_UNSET_SIZE; |
138 v3cf->max_table_capacity = NGX_CONF_UNSET_SIZE; | 138 h3scf->max_table_capacity = NGX_CONF_UNSET_SIZE; |
139 v3cf->max_blocked_streams = NGX_CONF_UNSET_UINT; | 139 h3scf->max_blocked_streams = NGX_CONF_UNSET_UINT; |
140 | 140 |
141 return v3cf; | 141 return h3scf; |
142 } | 142 } |
143 | 143 |
144 | 144 |
145 static char * | 145 static char * |
146 ngx_http_v3_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child) | 146 ngx_http_v3_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child) |