mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 15:32:21 +08:00
Merged in masayuki2009/nuttx.apps/fix_webserver (pull request #179)
apps/examples/webserver: Fix to compile with CONFIG_NETUTILS_HTTPD_SENDFILE=y Also, in this PR, some configs such as CONFIG_NETUTILS_HTTPDFILESTATS can be selected by menuconfig. Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:

committed by
Gregory Nutt

parent
ee8af2a59e
commit
b12b61df69
@@ -189,7 +189,9 @@ int webserver_main(int argc, char *argv[])
|
||||
#ifdef CONFIG_NET_TCP
|
||||
printf("Starting webserver\n");
|
||||
httpd_init();
|
||||
#ifndef CONFIG_NETUTILS_HTTPD_SCRIPT_DISABLE
|
||||
cgi_register();
|
||||
#endif
|
||||
httpd_listen();
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user