Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4223 - trunk/src/core

Anonymous User
October 24, 2011 09:00AM
Author: is
Date: 2011-10-24 12:59:01 +0000 (Mon, 24 Oct 2011)
New Revision: 4223

Modified:
trunk/src/core/nginx.c
Log:
FreeBSD's MALLOC_OPTIONS must be set before any malloc() call.
The bug has been introduced in r3799.


Modified: trunk/src/core/nginx.c
===================================================================
--- trunk/src/core/nginx.c 2011-10-21 11:04:46 UTC (rev 4222)
+++ trunk/src/core/nginx.c 2011-10-24 12:59:01 UTC (rev 4223)
@@ -203,6 +203,10 @@
ngx_cycle_t *cycle, init_cycle;
ngx_core_conf_t *ccf;

+#if (NGX_FREEBSD)
+ ngx_debug_init();
+#endif
+
if (ngx_strerror_init() != NGX_OK) {
return 1;
}
@@ -260,10 +264,6 @@
}
}

-#if (NGX_FREEBSD)
- ngx_debug_init();
-#endif
-
/* TODO */ ngx_max_sockets = -1;

ngx_time_init();

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4223 - trunk/src/core

Anonymous User 1507 October 24, 2011 09:00AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 111
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready