mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-17 17:36:21 +02:00
move http start back to command invocation
git-svn-id: file:///home/jj/hercules.svn/trunk@6826 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
16
httpserv.c
16
httpserv.c
@@ -938,13 +938,13 @@ int http_command(int argc, char *argv[])
|
||||
{
|
||||
http_serv.httpstmtold = TRUE;
|
||||
if ( !httpConfigStartupCompleted )
|
||||
hdl_addstartcall("http startup", http_startup, TRUE);
|
||||
http_startup(TRUE);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( !httpConfigStartupCompleted )
|
||||
hdl_rmvstartcall(http_startup, TRUE);
|
||||
http_startup(TRUE);
|
||||
|
||||
http_serv.httpstmtnew = TRUE;
|
||||
}
|
||||
@@ -992,14 +992,14 @@ int http_command(int argc, char *argv[])
|
||||
{
|
||||
http_serv.httpstmtold = TRUE;
|
||||
if ( !httpConfigStartupCompleted )
|
||||
hdl_addstartcall("http startup", http_startup, TRUE);
|
||||
http_startup(TRUE);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
http_serv.httpstmtnew = TRUE;
|
||||
if ( !httpConfigStartupCompleted )
|
||||
hdl_rmvstartcall(http_startup, TRUE);
|
||||
http_startup(TRUE);
|
||||
}
|
||||
|
||||
if ( sysblk.httptid != 0 )
|
||||
@@ -1069,7 +1069,7 @@ int http_command(int argc, char *argv[])
|
||||
else if ( argc == 1 && CMD(argv[0],start,3) )
|
||||
{
|
||||
if ( !httpConfigStartupCompleted )
|
||||
hdl_rmvstartcall(http_startup, TRUE);
|
||||
http_startup(TRUE);
|
||||
|
||||
http_serv.httpstmtold = FALSE;
|
||||
|
||||
@@ -1084,7 +1084,7 @@ int http_command(int argc, char *argv[])
|
||||
else if (argc == 1 && CMD(argv[0],stop,4))
|
||||
{
|
||||
if ( !httpConfigStartupCompleted )
|
||||
hdl_rmvstartcall(http_startup, TRUE);
|
||||
http_startup(TRUE);
|
||||
|
||||
http_serv.httpstmtold = FALSE;
|
||||
|
||||
@@ -1104,7 +1104,7 @@ int http_command(int argc, char *argv[])
|
||||
else if ( argc == 0 )
|
||||
{
|
||||
if ( !httpConfigStartupCompleted )
|
||||
hdl_rmvstartcall(http_startup, TRUE);
|
||||
http_startup(TRUE);
|
||||
|
||||
http_serv.httpstmtold = FALSE;
|
||||
|
||||
@@ -1167,7 +1167,7 @@ int http_command(int argc, char *argv[])
|
||||
else
|
||||
{
|
||||
if ( !httpConfigStartupCompleted )
|
||||
hdl_rmvstartcall(http_startup, TRUE);
|
||||
http_startup(TRUE);
|
||||
|
||||
http_serv.httpstmtold = FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user