SIGPIPE kills the server occasionally
#1
I get an occasional SIGPIPE (in a webadmin connection handling thread) which kills the server. Since I don't understand Unix signals much, I'd like to ask someone more experienced to have a look at this.

I found this in a simple google search: https://www.mail-archive.com/libevent-us...00998.html
This (and the replies) indicate that this issue would be fixed by setting some signal block on server startup.
Reply
Thanks given by:
#2
It looks like a fairly trivial change to NonCtrlHandler to ignore sigpipe. Simply check if the parameter is sigpipe in the same way we handle the other signals, then send ourselves sigignore. I'd make the change now but github won't let me make changes on my mobile.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)