summaryrefslogtreecommitdiff
path: root/nuttx/netutils/thttpd/config.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-09-11 15:15:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-09-11 15:15:35 +0000
commit2d54b109f67af610357159607ab41f6919ce1b94 (patch)
tree895cee80ccf7050f361cd260c3737942311f1c53 /nuttx/netutils/thttpd/config.h
parentded24f77f6c906ded017b80ccf95755e454af674 (diff)
downloadpx4-nuttx-2d54b109f67af610357159607ab41f6919ce1b94.tar.gz
px4-nuttx-2d54b109f67af610357159607ab41f6919ce1b94.tar.bz2
px4-nuttx-2d54b109f67af610357159607ab41f6919ce1b94.zip
Add memory debug support to THTTPD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2033 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/thttpd/config.h')
-rw-r--r--nuttx/netutils/thttpd/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/netutils/thttpd/config.h b/nuttx/netutils/thttpd/config.h
index dce61a32d..5eade0d47 100644
--- a/nuttx/netutils/thttpd/config.h
+++ b/nuttx/netutils/thttpd/config.h
@@ -200,6 +200,12 @@
# define CONFIG_THTTPD_IDLE_SEND_LIMIT_SEC 300
# endif
+/* Memory debug instrumentation depends on other debug options */
+
+#if (!defined(CONFIG_DEBUG) || !defined(CONFIG_DEBUG_NET)) && defined(CONFIG_THTTPD_MEMDEBUG)
+# undef CONFIG_THTTPD_MEMDEBUG
+#endif
+
/* Tilde mapping. Many URLs use ~username to indicate a user's home directory. thttpd
* provides two options for mapping this construct to an actual filename.
*