nginx-0.3.4-RELEASE import
*) Bugfix: nginx could not be built on Linux 2.4+ and MacOS X; the bug
had appeared in 0.3.3.
diff --git a/src/core/nginx.h b/src/core/nginx.h
index e482c42..a52f6c8 100644
--- a/src/core/nginx.h
+++ b/src/core/nginx.h
@@ -8,7 +8,7 @@
#define _NGINX_H_INCLUDED_
-#define NGINX_VER "nginx/0.3.3"
+#define NGINX_VER "nginx/0.3.4"
#define NGINX_VAR "NGINX"
#define NGX_OLDPID_EXT ".oldbin"
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index cac3944..94f816b 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -198,7 +198,7 @@
continue;
}
- if (tlen < sizeof(int) || timeout == 0) {
+ if (olen < sizeof(int) || timeout == 0) {
continue;
}