-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
Enhancement: print actual listen address after start-up | ||
Enhancement: Print actual listen address after start-up | ||
|
||
When started with `--listen :0` the server would print `start server on :0` | ||
When started with `--listen :0`, rest-server would print `start server on :0` | ||
|
||
Now the message includes the actual address listened on, for example | ||
`start server on 0.0.0.0:37333`. | ||
|
||
This is useful when starting a server with an auto-allocated free port number (port 0). | ||
The message now also includes the actual address listened on, for example | ||
`start server on 0.0.0.0:37333`. This is useful when starting a server with | ||
an auto-allocated free port number (port 0). | ||
|
||
https://github.com/restic/rest-server/pull/271 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
Change: Server is now shutdown cleanly on TERM or INT signals | ||
Change: Shut down cleanly on TERM and INT signals | ||
|
||
Server now listens for TERM and INT signals and cleanly closes down the http.Server and listener. | ||
Rest-server now listens for TERM and INT signals and cleanly closes down the | ||
http.Server and listener when receiving either of them. | ||
|
||
This is particularly useful when listening on a unix socket, as the server will remove the socket file from it shuts down. | ||
This is particularly useful when listening on a unix socket, as the server | ||
will now remove the socket file when it shuts down. | ||
|
||
https://github.com/restic/rest-server/pull/273 |