upgraded the nginx core to 1.7.7.

This commit is contained in:
Yichun Zhang (agentzh)
2014-10-29 21:27:14 -07:00
parent c474f54723
commit 46a5fd3bba
20 changed files with 2402 additions and 4 deletions

View File

@ -0,0 +1,24 @@
diff -ur nginx-1.7.7/src/core/nginx.h nginx-1.7.7-patched/src/core/nginx.h
--- nginx-1.7.7/src/core/nginx.h 2010-02-12 17:31:01.000000000 +0800
+++ nginx-1.7.7-patched/src/core/nginx.h 2010-03-30 10:52:13.240702627 +0800
@@ -10,7 +10,7 @@
#define nginx_version 1007007
#define NGINX_VERSION "1.7.7"
-#define NGINX_VER "nginx/" NGINX_VERSION
+#define NGINX_VER "openresty/" NGINX_VERSION ".unknown"
#define NGINX_VAR "NGINX"
#define NGX_OLDPID_EXT ".oldbin"
diff -ur nginx-1.7.7/src/http/ngx_http_header_filter_module.c nginx-1.7.7-patched/src/http/ngx_http_header_filter_module.c
--- nginx-1.7.7/src/http/ngx_http_header_filter_module.c 2010-03-03 23:14:04.000000000 +0800
+++ nginx-1.7.7-patched/src/http/ngx_http_header_filter_module.c 2010-03-30 10:52:53.670909405 +0800
@@ -45,7 +45,7 @@
};
-static char ngx_http_server_string[] = "Server: nginx" CRLF;
+static char ngx_http_server_string[] = "Server: openresty" CRLF;
static char ngx_http_server_full_string[] = "Server: " NGINX_VER CRLF;