comparison src/http/ngx_http_core_module.c @ 7984:ae992b5a27b2

Removed "aio sendfile", deprecated since 1.7.11.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 27 Dec 2021 19:47:05 +0300
parents e3dbd9449b14
children f8f6b9fee66a eaf356a35f5d
comparison
equal deleted inserted replaced
7983:d07456044b61 7984:ae992b5a27b2
4566 "is unsupported on this platform"); 4566 "is unsupported on this platform");
4567 return NGX_CONF_ERROR; 4567 return NGX_CONF_ERROR;
4568 #endif 4568 #endif
4569 } 4569 }
4570 4570
4571 #if (NGX_HAVE_AIO_SENDFILE)
4572
4573 if (ngx_strcmp(value[1].data, "sendfile") == 0) {
4574 clcf->aio = NGX_HTTP_AIO_ON;
4575
4576 ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
4577 "the \"sendfile\" parameter of "
4578 "the \"aio\" directive is deprecated");
4579 return NGX_CONF_OK;
4580 }
4581
4582 #endif
4583
4584 if (ngx_strncmp(value[1].data, "threads", 7) == 0 4571 if (ngx_strncmp(value[1].data, "threads", 7) == 0
4585 && (value[1].len == 7 || value[1].data[7] == '=')) 4572 && (value[1].len == 7 || value[1].data[7] == '='))
4586 { 4573 {
4587 #if (NGX_THREADS) 4574 #if (NGX_THREADS)
4588 ngx_str_t name; 4575 ngx_str_t name;