Merge branch 'master' into api-1.1
This commit is contained in:
commit
fc68cfd438
1 changed files with 1 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ int initializePlatformSockets(void) {
|
||||||
// Disable SIGPIPE signals to avoid us getting
|
// Disable SIGPIPE signals to avoid us getting
|
||||||
// killed when a socket gets an EPIPE error
|
// killed when a socket gets an EPIPE error
|
||||||
struct sigaction sa;
|
struct sigaction sa;
|
||||||
|
sigemptyset(&sa.sa_mask);
|
||||||
sa.sa_handler = SIG_IGN;
|
sa.sa_handler = SIG_IGN;
|
||||||
sa.sa_flags = 0;
|
sa.sa_flags = 0;
|
||||||
if (sigaction(SIGPIPE, &sa, 0) == -1) {
|
if (sigaction(SIGPIPE, &sa, 0) == -1) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue