tlsgate

TLS reverse proxy
git clone git://git.akobets.xyz/tlsgate
Log | Files | Refs | README | LICENSE

commit b0d6ee6c6a13701d6150f5e4aa01f92bf62bf5bf
parent ac4879b1c81f726ceaff5a69e9b5bbc63b96e6a4
Author: Artem Kobets <artem@akobets.xyz>
Date:   Mon, 21 Sep 2020 20:39:12 +0300

remove unix domain socket file check

bind() will error if file already exists

Diffstat:
Mmain.c | 9---------
1 file changed, 0 insertions(+), 9 deletions(-)

diff --git a/main.c b/main.c @@ -329,15 +329,6 @@ main(int argc, char **argv) ) usage(); - if ( - proxy_udsfile != NULL && - (access(proxy_udsfile, F_OK) == 0 || errno != ENOENT) - ) - errx( - "UNIX domain socket '%s': %s", proxy_udsfile, - errno != 0 ? strerror(errno) : "File exists" - ); - // setup tls if ((ctx = tls_server()) == NULL) err("tls_server");