diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2014-03-19 12:57:32 +0400 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-03-19 12:57:32 +0400 |
| commit | a4d04f01fb70563146f5fee0ae61b7c4c5a9b45a (patch) | |
| tree | aaa6f15062755a561576112e777c97bbc6a58b78 | |
| parent | f9b027baab9fda0c41223e64bf756a29d0b9192a (diff) | |
| download | nginx-a4d04f01fb70563146f5fee0ae61b7c4c5a9b45a.tar.gz nginx-a4d04f01fb70563146f5fee0ae61b7c4c5a9b45a.tar.bz2 | |
SPDY: macro used for recv_buffer_size initialization.
| -rw-r--r-- | src/http/ngx_http_spdy_module.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/http/ngx_http_spdy_module.c b/src/http/ngx_http_spdy_module.c index 8307f15c8..5178a36f2 100644 --- a/src/http/ngx_http_spdy_module.c +++ b/src/http/ngx_http_spdy_module.c @@ -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; } |
