Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd: handle http.ErrServerClosed properly, fix #17
ListenAndServe _always_ returns an error, http.ErrServerClosed means it's stopped normally, no need to panic in this case. Signed-off-by: Roman Khimov <[email protected]>
- Loading branch information