mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 13:04:54 -04:00
Remove setsockopt for SIGPIPE; disable SIGPIPE via signal() on non-WIN32
This commit is contained in:
1 parent
138bf4cc1e
commit
07ab8271b6
2 files changed
+6
-2
No files matched your search
@@ -1220,8 +1220,6 @@ RTMP_Connect0(RTMP *r, struct sockaddr * service)
|
||||
}
|
||||
}
|
||||
|
||||
setsockopt(r->m_sb.sb_socket, SOL_SOCKET, SO_NOSIGPIPE, (char *) &on, sizeof(on));
|
||||
|
||||
if(!r->m_bUseNagle)
|
||||
setsockopt(r->m_sb.sb_socket, IPPROTO_TCP, TCP_NODELAY, (char *) &on, sizeof(on));
|
||||
|
||||
|
||||
Reference in new issue
Block a user