9ad5184453
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
11 lines
610 B
C++
11 lines
610 B
C++
--- net/socket/socket_posix.cc.orig 2022-07-22 17:30:31 UTC
|
|
+++ 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
|