rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: raybob on December 23, 2012, 07:18:54 PM

Title: [server start]
Post by: raybob on December 23, 2012, 07:18:54 PM
Under the event [server start] is HFS programmed so that it completes the script BEFORE it starts accepting connections?  If not then could you make it like that?

Thanks,
Raybob
Title: Re: [server start]
Post by: rejetto on December 27, 2012, 07:21:34 PM
for what i can see, it should be always fired after it is really accepting connections
Title: Re: [server start]
Post by: raybob on December 27, 2012, 07:28:58 PM
Then maybe a new section to do things before it starts accepting connections?  :)
Title: Re: [server start]
Post by: rejetto on December 27, 2012, 07:34:17 PM
"before" but... when?
Title: Re: [server start]
Post by: raybob on December 27, 2012, 08:55:05 PM
between it being set to "active" and it actually accepting connections.
Title: Re: [server start]
Post by: raybob on December 27, 2012, 08:58:40 PM
Nevermind I have an idea that will fix my problem.

My problem now is that as FHFS runs its start script it also starts accepting connections, so if it gets overloaded quickly the script won't complete correctly and it will shut itself down because it's getting requests without the start data being filled.

But I have a solution.