Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.c @ 8956:eaf356a35f5d quic
Merged with the default branch.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 29 Dec 2021 15:17:26 +0300 |
parents | be08b858086a ae992b5a27b2 |
children | 8d0753760546 |
comparison
equal
deleted
inserted
replaced
8955:32daba3aabb2 | 8956:eaf356a35f5d |
---|---|
4586 "is unsupported on this platform"); | 4586 "is unsupported on this platform"); |
4587 return NGX_CONF_ERROR; | 4587 return NGX_CONF_ERROR; |
4588 #endif | 4588 #endif |
4589 } | 4589 } |
4590 | 4590 |
4591 #if (NGX_HAVE_AIO_SENDFILE) | |
4592 | |
4593 if (ngx_strcmp(value[1].data, "sendfile") == 0) { | |
4594 clcf->aio = NGX_HTTP_AIO_ON; | |
4595 | |
4596 ngx_conf_log_error(NGX_LOG_WARN, cf, 0, | |
4597 "the \"sendfile\" parameter of " | |
4598 "the \"aio\" directive is deprecated"); | |
4599 return NGX_CONF_OK; | |
4600 } | |
4601 | |
4602 #endif | |
4603 | |
4604 if (ngx_strncmp(value[1].data, "threads", 7) == 0 | 4591 if (ngx_strncmp(value[1].data, "threads", 7) == 0 |
4605 && (value[1].len == 7 || value[1].data[7] == '=')) | 4592 && (value[1].len == 7 || value[1].data[7] == '=')) |
4606 { | 4593 { |
4607 #if (NGX_THREADS) | 4594 #if (NGX_THREADS) |
4608 ngx_str_t name; | 4595 ngx_str_t name; |