summaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-07-22 12:53:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-07-22 12:53:04 +0000
commitb0b6bcedfc4b74bfe13b55b684a9cfc9e03ac100 (patch)
tree3efa4b77ee736da71cb0af660cf071c809fb85c6 /src/core
parenta7ed0951e36464ff82961aff1cd6404cfa50bcd4 (diff)
downloadnginx-b0b6bcedfc4b74bfe13b55b684a9cfc9e03ac100.tar.gz
nginx-b0b6bcedfc4b74bfe13b55b684a9cfc9e03ac100.tar.bz2
fix SSL connection issues on platforms with 32-bit off_t
patch by Maxim Dounin
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index ab73079a6..9762b18ca 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -127,5 +127,7 @@ typedef intptr_t ngx_flag_t;
#define NGX_MAX_UINT32_VALUE (uint32_t) 0xffffffff
#endif
+#define NGX_MAX_INT32_VALUE (uint32_t) 0x7fffffff
+
#endif /* _NGX_CONFIG_H_INCLUDED_ */