Why not remove UNIX domain socket before bind

Maxim Dounin mdounin at mdounin.ru
Thu Dec 1 13:46:59 UTC 2016


On Thu, Dec 01, 2016 at 01:20:43AM -0800, Alexey Ivanov wrote:

> Why not just use `flock(2)` there?

It won't work if the socket is used by a different server.

Maxim Dounin

More information about the nginx-devel mailing list