mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
Integrated uIP's TELNETD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@408 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* httpd
|
||||
* netutils/webserver/httpd.c
|
||||
* httpd Web server
|
||||
*
|
||||
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
|
||||
@@ -510,7 +510,7 @@ int httpd_listen(void)
|
||||
{
|
||||
/* Execute httpd_handler on each connection to port 80 */
|
||||
|
||||
uip_server(HTONS(80), httpd_handler, CONFIG_EXAMPLES_UIP_HTTPDSTACKSIZE);
|
||||
uip_server(HTONS(80), httpd_handler, CONFIG_NETUTILS_HTTPDSTACKSIZE);
|
||||
|
||||
/* uip_server only returns on errors */
|
||||
|
||||
|
||||
@@ -70,8 +70,8 @@
|
||||
* for the thread. Use a default if the user provided no stacksize.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_UIP_HTTPDSTACKSIZE
|
||||
# define CONFIG_EXAMPLES_UIP_HTTPDSTACKSIZE 4096
|
||||
#ifndef CONFIG_NETUTILS_HTTPDSTACKSIZE
|
||||
# define CONFIG_NETUTILS_HTTPDSTACKSIZE 4096
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user