diff packages/net/httpd/current/doc/httpd.sgml @ 1535:00ed8504e595

Forgot to update the documentation in last checkin. Now done.
author nickg
date Tue, 09 Mar 2004 10:45:44 +0000
parents eeb14eae974b
children 74dbf4c3f2e1
line wrap: on
line diff
--- a/packages/net/httpd/current/doc/httpd.sgml
+++ b/packages/net/httpd/current/doc/httpd.sgml
@@ -58,10 +58,13 @@ defining content, the application does n
 start the HTTP server.
 </para>
 <para>
-The HTTP server is started by a static constructor. This simply
-creates an initial thread and sets it running. Since this is called
-before the scheduler is started, nothing will happen until the
-application calls <function>cyg_scheduler_start()</function>.
+The HTTP server is, by default, started by a static constructor. This
+simply creates an initial thread and sets it running. Since this is
+called before the scheduler is started, nothing will happen until the
+application calls <function>cyg_scheduler_start()</function>. The
+server thread can also be started explicitly by the application, see
+the <literal>CYGNUM_HTTPD_SERVER_AUTO_START</literal> option for
+details.
 </para>
 <para>
 When the thread gets to run it first optionally delays for some period
@@ -226,6 +229,17 @@ very complex forms, this should be incre
 </sect2>
 
 <sect2>
+<title><literal>CYGNUM_HTTPD_SERVER_AUTO_START</literal></title>
+<para>
+This option causes the HTTP Daemon to be started automatically during
+system initialization. If this option is not set then the application
+must start the daemon explicitly by calling
+<function>cyg_httpd_startup()</function>. This option is set by
+default.
+</para>
+</sect2>
+
+<sect2>
 <title><literal>CYGNUM_HTTPD_SERVER_DELAY</literal></title>
 <para>
 This defines the number of system clock ticks that the HTTP server