More information - the issue occurs during IWServerControllerBaseCreate
because that is where I am setting the parameter: (bUseHTTPS is read from an ini file)
if not bUseHTTPS then
begin
Port := iPort;
SSLOptions.Port := 0;
SSLOptions.NonSSLRequest := nsAccept;
end
else
begin
SSLOptions.Port := iPort;
SSLOptions.NonSSLRequest := nsBlock;
end;
Solved...?
move OnCreate code to OnConfig event - called before OnCreate...
ok by me
because that is where I am setting the parameter: (bUseHTTPS is read from an ini file)
if not bUseHTTPS then
begin
Port := iPort;
SSLOptions.Port := 0;
SSLOptions.NonSSLRequest := nsAccept;
end
else
begin
SSLOptions.Port := iPort;
SSLOptions.NonSSLRequest := nsBlock;
end;
Solved...?
move OnCreate code to OnConfig event - called before OnCreate...
ok by me