endless
endless copied to clipboard
accept tcp 127.0.0.1:4242: use of closed network connection
This error is printed whenever a SIGHUP is sent to an endless server. The server continues to run but this error is causing my program which calls endless to panic. Where is the error coming from?
I also have the same error @j-xhan
I think I know the reason~
I do have the same message when I kill my server (SIGTERM):
accept tcp [::]:8080: use of closed network connection
But the problem is when I want the change the port, if I just restart (SIGHUP), I do have this message and the server stay on the old port.
The work around is killing + starting the server, so no benefit of a "Zero downtime restarts" library ;)
Any help is welcome.