[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. 2582b17f3b6519f8ba67
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. 2582b17f3b6519f8ba67ff6ca0c32aaf43156226 |
Date: |
Mon, 11 Oct 2010 22:43:42 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via 2582b17f3b6519f8ba67ff6ca0c32aaf43156226 (commit)
via a97ec21a1cde900e19400e57d05abb89a018471a (commit)
from 504224e112280b7b20c6d2882ad14f99de6d84bb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=2582b17f3b6519f8ba67ff6ca0c32aaf43156226
commit 2582b17f3b6519f8ba67ff6ca0c32aaf43156226
Author: Sandro Santilli <address@hidden>
Date: Tue Oct 12 00:43:38 2010 +0200
Request not to send SIGPIPE while sending to socket
diff --git a/libbase/Socket.cpp b/libbase/Socket.cpp
index d276121..3913841 100644
--- a/libbase/Socket.cpp
+++ b/libbase/Socket.cpp
@@ -321,7 +321,7 @@ Socket::write(const void* src, std::streamsize num)
const char* buf = static_cast<const char*>(src);
while (toWrite > 0) {
- bytesSent = ::send(_socket, buf, toWrite, 0);
+ bytesSent = ::send(_socket, buf, toWrite, MSG_NOSIGNAL);
if (bytesSent < 0) {
const int err = errno;
log_error("Socket send error %s", std::strerror(err));
http://git.savannah.gnu.org/cgit//commit/?id=a97ec21a1cde900e19400e57d05abb89a018471a
commit a97ec21a1cde900e19400e57d05abb89a018471a
Author: Sandro Santilli <address@hidden>
Date: Tue Oct 12 00:25:54 2010 +0200
Use Socket::eof for detecting close
diff --git a/libcore/asobj/XMLSocket_as.cpp b/libcore/asobj/XMLSocket_as.cpp
index e4b41d4..3951ce3 100644
--- a/libcore/asobj/XMLSocket_as.cpp
+++ b/libcore/asobj/XMLSocket_as.cpp
@@ -253,7 +253,7 @@ XMLSocket_as::checkForIncomingData()
callMethod(&owner(), NSV::PROP_ON_DATA, *it);
}
- if (_socket.bad()) {
+ if (_socket.eof()) {
callMethod(&owner(), NSV::PROP_ON_CLOSE);
close();
return;
-----------------------------------------------------------------------
Summary of changes:
libbase/Socket.cpp | 2 +-
libcore/asobj/XMLSocket_as.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Gnash
- [Gnash-commit] [SCM] Gnash branch, master, updated. 2582b17f3b6519f8ba67ff6ca0c32aaf43156226,
Sandro Santilli <=