diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-07 21:44:14 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-07 21:44:14 +0000 |
commit | 1212e377d6ad522577254fd439c61b3852753507 (patch) | |
tree | c3ea6a05c400455b0b3e2c80fad98e3707e4d0c2 | |
parent | c19315034c18ed60d9d960c4a05bb42cd0f864ba (diff) |
2007-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* goahead_index.html: This is not preprocessed so hard code name.
* init.c: Simple HTTPD is using ~39K stack space with this test.
Make the stack for the SHTTPD server 48K.
-rw-r--r-- | http/ChangeLog | 6 | ||||
-rw-r--r-- | http/goahead_index.html | 2 | ||||
-rw-r--r-- | http/init.c | 7 |
3 files changed, 13 insertions, 2 deletions
diff --git a/http/ChangeLog b/http/ChangeLog index efe8c6d..601cbc7 100644 --- a/http/ChangeLog +++ b/http/ChangeLog @@ -1,3 +1,9 @@ +2007-09-07 Joel Sherrill <joel.sherrill@oarcorp.com> + + * goahead_index.html: This is not preprocessed so hard code name. + * init.c: Simple HTTPD is using ~39K stack space with this test. + Make the stack for the SHTTPD server 48K. + 2007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com> * shttpd_ext.c: Use new name. diff --git a/http/goahead_index.html b/http/goahead_index.html index cdfcf58..064a5c6 100644 --- a/http/goahead_index.html +++ b/http/goahead_index.html @@ -2,7 +2,7 @@ <HEAD><TITLE>RTEMS @SERVER@ Test Page</TITLE></HEAD> <BODY BGCOLOR="FFFFFF"> <center> -<H1>RTEMS @SERVER@ Test Page</H1> +<H1>RTEMS GoAhead Test Page</H1> <A HREF="http://www.rtems.org"> <IMG align=center BORDER=0 SRC="rtems_logo.jpg" ALT="RTEMS"> </A> diff --git a/http/init.c b/http/init.c index 9ea0a58..af71c9a 100644 --- a/http/init.c +++ b/http/init.c @@ -133,10 +133,15 @@ rtems_task Init( #endif #if defined(USE_SIMPLE_HTTPD) + /* + * SHTTPD uses about 37K of stack even in this test on a PowerPC. + * There is no point in doing math for the stack size. Bump it + * until there isn't a problem. + */ printf( "Initializing Simple HTTPD\n" ); status = rtems_initialize_webserver( 100, /* initial priority */ - RTEMS_MINIMUM_STACK_SIZE * 4, /* stack size */ + (48 * 1024), /* stack size */ RTEMS_DEFAULT_MODES, /* initial modes */ RTEMS_DEFAULT_ATTRIBUTES, /* attributes */ NULL, /* init_callback */ |