summaryrefslogtreecommitdiff
path: root/src/core/nginx.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-04-26 08:40:02 +0000
committerJonathan Kolb <jon@b0g.us>2006-04-26 08:40:02 +0000
commitb29289f8669b359eb8d9466950c85446cac84897 (patch)
tree7f636a8460f6ed28271ec5307a4dce213505faa0 /src/core/nginx.c
parent984cc0392183bbe02dad30645691f34917b8d78b (diff)
downloadnginx-b29289f8669b359eb8d9466950c85446cac84897.tar.gz
Changes with nginx 0.3.42 26 Apr 2006v0.3.42
*) Feature: the "bind" option of the "listen" directive in IMAP/POP3 proxy. *) Bugfix: if the same capture in the "rewrite" directive was used more then once. *) Bugfix: the $sent_http_content_type, $sent_http_content_length, $sent_http_last_modified, $sent_http_connection, $sent_http_keep_alive, and $sent_http_transfer_encoding variables were not written to access log. *) Bugfix: the $sent_http_cache_control returned value of the single "Cache-Control" response header line.
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r--src/core/nginx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index 484919862..31c90bd6f 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -239,7 +239,9 @@ main(int argc, char *const *argv)
ngx_write_fd(ngx_stderr_fileno, "built by " NGX_COMPILER CRLF,
sizeof("built by " NGX_COMPILER CRLF) - 1);
#endif
- return 0;
+ if (!ngx_test_config) {
+ return 0;
+ }
}
if (ngx_test_config) {