]> git.kaiwu.me - nginx.git/commitdiff
Removed "aio sendfile", deprecated since 1.7.11.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 27 Dec 2021 16:47:05 +0000 (19:47 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 27 Dec 2021 16:47:05 +0000 (19:47 +0300)
src/http/ngx_http_core_module.c

index fe1da4576c29d08b84a68518b59e9d44a2693709..c7463dcdc62ec59507c5142fcd08d7412d6471c8 100644 (file)
@@ -4568,19 +4568,6 @@ ngx_http_core_set_aio(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
 #endif
     }
 
-#if (NGX_HAVE_AIO_SENDFILE)
-
-    if (ngx_strcmp(value[1].data, "sendfile") == 0) {
-        clcf->aio = NGX_HTTP_AIO_ON;
-
-        ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
-                           "the \"sendfile\" parameter of "
-                           "the \"aio\" directive is deprecated");
-        return NGX_CONF_OK;
-    }
-
-#endif
-
     if (ngx_strncmp(value[1].data, "threads", 7) == 0
         && (value[1].len == 7 || value[1].data[7] == '='))
     {