summaryrefslogtreecommitdiffhomepage
path: root/src/http
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-07-02 16:51:02 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-07-02 16:51:02 +0000
commit7138ca1704831157e6cea929c3f87185016e0d17 (patch)
tree7ec14337794b1f0afdee28d8ee3eb9a0e76652cb /src/http
parenteaf3544e15cc7551efa128ed5bb67851cb57d11e (diff)
downloadnginx-7138ca1704831157e6cea929c3f87185016e0d17.tar.gz
nginx-7138ca1704831157e6cea929c3f87185016e0d17.tar.bz2
Merge of r4682, r4694, r4699, r4704, r4705: minor nits.
*) Fixed spelling of "endianness", and called it "byte ordering" in the user visible part. *) Fixed return type of ngx_strerror_init(). *) Fixed a harmless error in spelling of "Connection: close" when computing the response header length. *) Style. *) Added code to look up Google perftools in /opt/local/, for MacPorts.
Diffstat (limited to '')
-rw-r--r--src/http/modules/ngx_http_geo_module.c2
-rw-r--r--src/http/ngx_http_header_filter_module.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_geo_module.c b/src/http/modules/ngx_http_geo_module.c
index e792cdb66..189d8ed50 100644
--- a/src/http/modules/ngx_http_geo_module.c
+++ b/src/http/modules/ngx_http_geo_module.c
@@ -145,7 +145,7 @@ typedef struct {
u_char GEORNG[6];
u_char version;
u_char ptr_size;
- uint32_t endianess;
+ uint32_t endianness;
uint32_t crc32;
} ngx_http_geo_header_t;
diff --git a/src/http/ngx_http_header_filter_module.c b/src/http/ngx_http_header_filter_module.c
index 19f531b5d..1e01c857d 100644
--- a/src/http/ngx_http_header_filter_module.c
+++ b/src/http/ngx_http_header_filter_module.c
@@ -395,7 +395,7 @@ ngx_http_header_filter(ngx_http_request_t *r)
}
} else {
- len += sizeof("Connection: closed" CRLF) - 1;
+ len += sizeof("Connection: close" CRLF) - 1;
}
#if (NGX_HTTP_GZIP)