[SCTP] Fixed a crash on SIGPIPE (#2734) (#2757)

This commit is contained in:
Sukchan Lee 2023-11-28 16:10:48 +09:00 committed by GitHub
parent 5070ddfa3e
commit 4739198c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ static int epoll_process(ogs_pollset_t *pollset, ogs_time_t timeout)
}
if (received & EPOLLRDHUP) {
when |= OGS_POLLIN;
when &= ~OGS_POLLOUT;
}
}