It is not necessary to implement privilege dropping as part of the main
Network.Gopher API anymore since it can easily be done in the ready
action passed to runGopherManual.
To ease transition we expose an exception-throwing version of the
formerly internal function dropPrivileges via Network.Gopher.Util
which can be plugged into the ready action of runGopherManual if
desired.
feat(server): exit if dropPrivileges fails
We don't catch the exception of dropPrivileges anymore, exiting on
a failure related to it instead (user doesn't exist, insufficient
privileges).
BREAKING CHANGES:
cRunUserName has been removed from GopherConfig. This breaks all library
usage which relied on this feature.
The spacecookie server daemon now exits if changing user fails instead
of just logging an error like before.
It is not necessary to implement privilege dropping as part of the main Network.Gopher API anymore since it can easily be done in the ready action passed to runGopherManual.
To ease transition we expose an exception-throwing version of the formerly internal function dropPrivileges via Network.Gopher.Util which can be plugged into the ready action of runGopherManual if desired.
feat(server): exit if dropPrivileges fails
We don't catch the exception of dropPrivileges anymore, exiting on a failure related to it instead (user doesn't exist, insufficient privileges).
BREAKING CHANGES: