From 1212e377d6ad522577254fd439c61b3852753507 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 7 Sep 2007 21:44:14 +0000 Subject: 2007-09-07 Joel Sherrill * 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. --- http/ChangeLog | 6 ++++++ http/goahead_index.html | 2 +- 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 + + * 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 * 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 @@ RTEMS @SERVER@ Test Page
-

RTEMS @SERVER@ Test Page

+

RTEMS GoAhead Test Page

RTEMS 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 */ -- cgit v1.2.3