aboutsummaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-05-01 03:06:34 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-05-01 04:13:25 +0200
commit9c7a2e91285ca91d500cc828ad041a264128db4d (patch)
tree0881cba35d5428877e5acfb5f42b05082c4cfbc3 /auth.c
parent7d1e41f9c51bc1525e5b0c86b9832562d65675c1 (diff)
downloadslcl-9c7a2e91285ca91d500cc828ad041a264128db4d.tar.gz
Avoid crashing on SIGPIPE
Under some circumstances, clients could cause SIGPIPE to slcl. Since this signal was not handled by server.c (i.e., via sigaction(3)), slcl would crash without any error messages printed to stderr. In such situation, SIGPIPE should not be usually considered a fatal error, so it is preferrable to close the connection and keep working.
Diffstat (limited to 'auth.c')
0 files changed, 0 insertions, 0 deletions