[TODO] tengine modules: support dynamic loading

mlnl4t2r  于 3个月前  发布在  其他
关注(0)|答案(4)|浏览(63)

添加完动态模块之后,使用nginx -m显示的不对。
nginx配置
load_module modules/ngx_http_headers_more_filter_module.so;

nginx -m显示内容
Tengine version: Tengine/2.3.0 (nginx/1.15.9)
nginx: loaded modules:
...
nginx: ngx_http_headers_more_filter_module (static)
nginx: ngx_http_not_modified_filter_module (dynamic)

nginx: ngx_http_headers_more_filter_module (static) 显示成了静态模块
nginx: ngx_http_not_modified_filter_module (dynamic) 这里却显示成了动态的

注释掉加载模块的配置之后 nginx -m 显示
Tengine version: Tengine/2.3.0 (nginx/1.15.9)
nginx: loaded modules:
nginx: ngx_core_module (static)
nginx: ngx_errlog_module (static)
nginx: ngx_conf_module (static)
nginx: ngx_openssl_module (static)
nginx: ngx_regex_module (static)
nginx: ngx_events_module (static)
nginx: ngx_event_core_module (static)
nginx: ngx_epoll_module (static)
nginx: ngx_procs_module (static)
nginx: ngx_proc_core_module (static)
nginx: ngx_http_module (static)
nginx: ngx_http_core_module (static)
nginx: ngx_http_log_module (static)
nginx: ngx_http_upstream_module (static)
nginx: ngx_http_v2_module (static)
nginx: ngx_http_static_module (static)
nginx: ngx_http_autoindex_module (static)
nginx: ngx_http_index_module (static)
nginx: ngx_http_mirror_module (static)
nginx: ngx_http_try_files_module (static)
nginx: ngx_http_auth_request_module (static)
nginx: ngx_http_auth_basic_module (static)
nginx: ngx_http_access_module (static)
nginx: ngx_http_limit_conn_module (static)
nginx: ngx_http_limit_req_module (static)
nginx: ngx_http_geo_module (static)
nginx: ngx_http_map_module (static)
nginx: ngx_http_split_clients_module (static)
nginx: ngx_http_referer_module (static)
nginx: ngx_http_rewrite_module (static)
nginx: ngx_http_ssl_module (static)
nginx: ngx_http_proxy_module (static)
nginx: ngx_http_fastcgi_module (static)
nginx: ngx_http_uwsgi_module (static)
nginx: ngx_http_scgi_module (static)
nginx: ngx_http_grpc_module (static)
nginx: ngx_http_memcached_module (static)
nginx: ngx_http_empty_gif_module (static)
nginx: ngx_http_browser_module (static)
nginx: ngx_http_upstream_hash_module (static)
nginx: ngx_http_upstream_ip_hash_module (static)
nginx: ngx_http_upstream_least_conn_module (static)
nginx: ngx_http_upstream_random_module (static)
nginx: ngx_http_upstream_keepalive_module (static)
nginx: ngx_http_upstream_zone_module (static)
nginx: ngx_http_stub_status_module (static)
nginx: ngx_http_upstream_check_module (static)
nginx: ngx_http_write_filter_module (static)
nginx: ngx_http_header_filter_module (static)
nginx: ngx_http_chunked_filter_module (static)
nginx: ngx_http_v2_filter_module (static)
nginx: ngx_http_range_header_filter_module (static)
nginx: ngx_http_gzip_filter_module (static)
nginx: ngx_http_postpone_filter_module (static)
nginx: ngx_http_ssi_filter_module (static)
nginx: ngx_http_charset_filter_module (static)
nginx: ngx_http_userid_filter_module (static)
nginx: ngx_http_headers_filter_module (static)
nginx: ngx_http_copy_filter_module (static)
nginx: ngx_http_range_body_filter_module (static)
nginx: ngx_http_not_modified_filter_module (static)

e5nqia27

e5nqia271#

-m 指令的static/dynamic之前是对Tengine DSO feature(2.3.0版本已经废弃)做显示,暂未对nginx dynamic module feature(当前功能)做兼容

qnyhuwrf

qnyhuwrf2#

TODO1

Will make -m option compatitble with dynamic module loading

6qftjkof

6qftjkof3#

TODO2

Hi, also note that current tengine modules does not support dynamic loading.

We add TODO tag for these feature, will postpone to next release.

This needs to modify tengine modules based on https://www.nginx.com/resources/wiki/extending/converting/ .

wmvff8tz

wmvff8tz4#

@totobo Thanks for your report, you can try it #1229 .

相关问题