Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes the service does not respond. #26

Open
Gao996 opened this issue Nov 30, 2021 · 3 comments
Open

Sometimes the service does not respond. #26

Gao996 opened this issue Nov 30, 2021 · 3 comments

Comments

@Gao996
Copy link

Gao996 commented Nov 30, 2021

Sometimes the service does not respond. After a lot of files are transferred, the web page and other requests are not accepted, and the software functions are displayed normally. At this time, the service needs to be restarted to continue running. Here is a timer, 10 second interval, whether Will affect performance.

procedure TmainFrm.TimerTestTimer(Sender: TObject);
begin
if(not srv.active) then
  begin
  add2log('not active');
  if assigned(srv) then srv.stop();
  srv.port := port;
  srv.start(listenOn);
  end
else
  begin
  add2log('active');
  end;
end;
@Gao996
Copy link
Author

Gao996 commented Dec 3, 2021

Thank you, there is no problem with the current number of about one hundred. What is the maximum number of connections for http access.

@rejetto
Copy link
Owner

rejetto commented Dec 3, 2021

there's no limit set, the problem you experienced is like a bug but the number probably varies over different computers.

The thing you programmed in delphi could probably be achieved very easily with an "event script".

@itisbean
Copy link

Hi, I met the same issue, have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants