SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
www/chromium/patches/patch-net_socket_socket_posix_cc
Normal file
12
www/chromium/patches/patch-net_socket_socket_posix_cc
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: net/socket/socket_posix.cc
|
||||
--- net/socket/socket_posix.cc.orig
|
||||
+++ net/socket/socket_posix.cc
|
||||
@@ -516,7 +516,7 @@ void SocketPosix::ReadCompleted() {
|
||||
}
|
||||
|
||||
int SocketPosix::DoWrite(IOBuffer* buf, int buf_len) {
|
||||
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
|
||||
// Disable SIGPIPE for this write. Although Chromium globally disables
|
||||
// SIGPIPE, the net stack may be used in other consumers which do not do
|
||||
// this. MSG_NOSIGNAL is a Linux-only API. On OS X, this is a setsockopt on
|
Loading…
Add table
Add a link
Reference in a new issue