actix-net icon indicating copy to clipboard operation
actix-net copied to clipboard

Run server again after stopping it by ServerHandle::stop()

Open hulxv opened this issue 2 years ago • 2 comments

Is there a way to run the server again after stopping it by ServerHandle::stop()?

hulxv avatar Jun 05 '22 07:06 hulxv

No. What's your use case?

robjtede avatar Jul 03 '22 00:07 robjtede

What's your use case?

I built 2 utilities, the first is a daemon and used to serve the HTTP Server, and the other is used to control in HTTP server by sending requests over a Unix domain socket.

I implemented all parts of the pause, resume, and shutdown (or stop). But after shutdown, I need to re-run the daemon (or program). So, Is there a way to re-run the HTTP server without re-run the daemon?

hulxv avatar Jul 03 '22 22:07 hulxv