Jonathon Reinhart
|
70dfe6b128
|
Only call AuthLoadFile() once at startup
|
2021-02-15 00:08:37 -05:00 |
|
Jonathon Reinhart
|
7fa0eebf95
|
Simplify range code for setting up listeners
|
2021-02-15 00:00:38 -05:00 |
|
Jonathon Reinhart
|
ecf830865c
|
Add helpful log messages for various error cases
|
2021-02-14 23:49:17 -05:00 |
|
Jonathon Reinhart
|
4fd6bb1004
|
Refactor common code in listener setup
|
2021-02-14 23:30:31 -05:00 |
|
Jonathon Reinhart
|
fd3f513b18
|
Don't run ListenAndServe in a goroutine
Any errors returned in ListenAndServe() (e.g. port already in use) will be
swallowed and not evident to the user.
|
2021-02-14 23:24:25 -05:00 |
|
Jonathon Reinhart
|
b202a2209e
|
Refactor out getTLSConfig()
|
2021-02-14 23:21:42 -05:00 |
|
Jonathon Reinhart
|
f33105f83c
|
Allow email field to be empty in allowedUsers file
In this case, it is not checked.
|
2021-02-09 00:00:36 -05:00 |
|