mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 04:52:25 +00:00
SPDY: macro used for recv_buffer_size initialization.
This commit is contained in:
parent
f9b027baab
commit
a4d04f01fb
1 changed files with 1 additions and 3 deletions
|
|
@ -251,9 +251,7 @@ ngx_http_spdy_init_main_conf(ngx_conf_t *cf, void *conf)
|
|||
{
|
||||
ngx_http_spdy_main_conf_t *smcf = conf;
|
||||
|
||||
if (smcf->recv_buffer_size == NGX_CONF_UNSET_SIZE) {
|
||||
smcf->recv_buffer_size = 256 * 1024;
|
||||
}
|
||||
ngx_conf_init_size_value(smcf->recv_buffer_size, 256 * 1024);
|
||||
|
||||
return NGX_CONF_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue