Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: README doc/README.html doc/README.txt doc/README.wiki
- Loading branch information
Showing
52 changed files
with
7,133 additions
and
1,054 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
ngx_feature="nginx_tcp_module" | ||
ngx_feature_name= | ||
ngx_feature_run=no | ||
ngx_feature_incs= | ||
ngx_feature_path="$ngx_addon_dir/modules $ngx_addon_dir/parsers $ngx_addon_dir" | ||
ngx_feature_deps="$ngx_addon_dir/ngx_tcp.h $ngx_addon_dir/ngx_tcp_session.h $ngx_addon_dir/ngx_tcp_upstream.h $ngx_addon_dir/ngx_tcp_upstream_check.h $ngx_addon_dir/ngx_tcp_upstream_round_robin.h" | ||
ngx_tcp_src="$ngx_addon_dir/ngx_tcp.c $ngx_addon_dir/ngx_tcp_core_module.c $ngx_addon_dir/ngx_tcp_session.c $ngx_addon_dir/ngx_tcp_access.c $ngx_addon_dir/ngx_tcp_log.c $ngx_addon_dir/ngx_tcp_upstream.c $ngx_addon_dir/ngx_tcp_upstream_round_robin.c $ngx_addon_dir/modules/ngx_tcp_generic_proxy_module.c $ngx_addon_dir/modules/ngx_tcp_websocket_proxy_module.c $ngx_addon_dir/modules/ngx_tcp_upstream_ip_hash_module.c $ngx_addon_dir/modules/ngx_tcp_upstream_busyness_module.c $ngx_addon_dir/ngx_tcp_upstream_check.c " | ||
ngx_tcp_ssl_deps="$ngx_addon_dir/modules/ngx_tcp_ssl_module.h" | ||
ngx_tcp_ssl_src="$ngx_addon_dir/modules/ngx_tcp_ssl_module.c" | ||
ngx_tcp_parser_deps="$ngx_addon_dir/parsers/parser.h $ngx_addon_dir/parsers/http_request_parser.h $ngx_addon_dir/parsers/http_response_parser.h $ngx_addon_dir/parsers/smtp_response_parser.h" | ||
ngx_tcp_parser_src="$ngx_addon_dir/parsers/http_request_parser.c $ngx_addon_dir/parsers/http_response_parser.c $ngx_addon_dir/parsers/smtp_response_parser.c" | ||
ngx_feature_test="int a;" | ||
. auto/feature | ||
|
||
if [ $ngx_found = yes ]; then | ||
CORE_INCS="$CORE_INCS $ngx_feature_path" | ||
ngx_addon_name=ngx_tcp_module | ||
|
||
TCP_CORE_MODULES="ngx_tcp_module ngx_tcp_core_module ngx_tcp_upstream_module" | ||
TCP_MODULES="ngx_tcp_proxy_module ngx_tcp_websocket_module ngx_tcp_upstream_ip_hash_module ngx_tcp_upstream_busyness_module" | ||
|
||
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_feature_deps $ngx_tcp_parser_deps" | ||
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_tcp_src $ngx_tcp_parser_src" | ||
|
||
#have=NGX_TCP_SSL . auto/have | ||
#USE_OPENSSL=YES | ||
#TCP_MODULES="$TCP_MODULES ngx_tcp_ssl_module" | ||
#NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_tcp_ssl_deps" | ||
#NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_tcp_ssl_src" | ||
|
||
EVENT_MODULES="$EVENT_MODULES $TCP_CORE_MODULES $TCP_MODULES" | ||
HTTP_MODULES="$HTTP_MODULES ngx_tcp_upstream_check_status_module" | ||
else | ||
cat << END | ||
$0: error: the ngx_tcp_module addon error. | ||
END | ||
exit 1 | ||
fi |
Oops, something went wrong.