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:
Jan Jaeger
2010-10-08 17:48:36 +00:00
parent 5aeec54560
commit b0c260f9ba
3 changed files with 10 additions and 89 deletions

View File

@@ -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;