You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2013/10/09 22:18:45 UTC
[jira] [Commented] (THRIFT-2019) Writing on a disconnected socket
on Mac causes SIG PIPE
[ https://issues.apache.org/jira/browse/THRIFT-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790811#comment-13790811 ]
Jens Geyer commented on THRIFT-2019:
------------------------------------
+1
Same here: Applies after fixing EOL style (win=>*nix), looks good to me.
> Writing on a disconnected socket on Mac causes SIG PIPE
> -------------------------------------------------------
>
> Key: THRIFT-2019
> URL: https://issues.apache.org/jira/browse/THRIFT-2019
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 0.9
> Environment: Mac OSX
> Reporter: Ben Craig
> Assignee: Ben Craig
> Fix For: 1.0
>
> Attachments: mac_sigpipe.patch
>
>
> Suppose you have a successful client / server connection on Mac. The client suddenly disconnects while the server is writing the reply to the socket. Currently, this causes SIG PIPE.
> Thrift already has code to deal with this on Linux, but Mac / BSD do this differently.
--
This message was sent by Atlassian JIRA
(v6.1#6144)