• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/Makefile.conf.template b/Makefile.conf.template
2index 5a76e0a35..2570db165 100644
3--- a/Makefile.conf.template
4+++ b/Makefile.conf.template
5@@ -69,17 +69,19 @@ exclude_modules?= aaa_diameter aaa_radius auth_jwt b2b_logic_xml cachedb_cassand
6
7 include_modules?=
8
9-DEFS+= -DPKG_MALLOC #Use a faster malloc
10-DEFS+= -DSHM_MMAP #Use mmap instead of SYSV shared memory
11-DEFS+= -DUSE_MCAST #Compile in support for IP Multicast
12+#DEFS+= -DPKG_MALLOC #Use a faster malloc
13+#DEFS+= -DSHM_MMAP #Use mmap instead of SYSV shared memory
14+#DEFS+= -DUSE_MCAST #Compile in support for IP Multicast
15 DEFS+= -DDISABLE_NAGLE #Disable the TCP NAgle Algorithm ( lower delay )
16 DEFS+= -DSTATISTICS #Enable the statistics manager
17+DEFS+= -DSYSTEM_MALLOC
18+DEFS+= -DSHM_MMAP
19 DEFS+= -DHAVE_RESOLV_RES #Support for changing some of the resolver parameters
20 # Specifying exactly 1 allocator will cause it to be inlined (fastest)
21-DEFS+= -DF_MALLOC #Fast memory allocator with minimal runtime overhead
22-DEFS+= -DQ_MALLOC #Quality assurance memory allocator with runtime safety checks
23-DEFS+= -DHP_MALLOC #High performance allocator with fine-grained locking
24-DEFS+= -DDBG_MALLOC #Include additional, debug-enabled allocator flavors
25+#DEFS+= -DF_MALLOC #Fast memory allocator with minimal runtime overhead
26+#DEFS+= -DQ_MALLOC #Quality assurance memory allocator with runtime safety checks
27+#DEFS+= -DHP_MALLOC #High performance allocator with fine-grained locking
28+#DEFS+= -DDBG_MALLOC #Include additional, debug-enabled allocator flavors
29 #DEFS+= -DNO_DEBUG #Compile out all debug messages
30 #DEFS+= -DNO_LOG #Compile out all logging
31 #DEFS_GROUP_START
32diff --git a/parser/msg_parser.c b/parser/msg_parser.c
33index db09aff7f..99ea58435 100644
34--- a/parser/msg_parser.c
35+++ b/parser/msg_parser.c
36@@ -263,7 +263,7 @@ error_bad_hdr:
37 	set_err_reply(400, "bad headers");
38 error:
39 	LM_DBG("error exit\n");
40-	update_stat( bad_msg_hdr, 1);
41+	//update_stat( bad_msg_hdr, 1);
42 	hdr->type=HDR_ERROR_T;
43 	hdr->len=tmp-hdr->name.s;
44 	return tmp;
45diff --git a/parser/parse_uri.c b/parser/parse_uri.c
46index 364d91c1f..2f1ff1130 100644
47--- a/parser/parse_uri.c
48+++ b/parser/parse_uri.c
49@@ -1628,7 +1628,7 @@ error_bug:
50 error_exit:
51 	ser_error=E_BAD_URI;
52 	uri->type=ERROR_URI_T;
53-	update_stat(bad_URIs, 1);
54+	//update_stat(bad_URIs, 1);
55 	return E_BAD_URI;
56 }
57
58