Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2019

Writing on a disconnected socket on Mac causes SIG PIPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.10.0
    • Component/s: C++ - Library
    • Labels:
      None
    • Environment:

      Mac OSX

    • Patch Info:
      Patch Available

      Description

      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.

        Attachments

        1. mac_sigpipe.patch
          0.9 kB
          Ben Craig

          Activity

            People

            • Assignee:
              ben.craig Ben Craig
              Reporter:
              ben.craig Ben Craig
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: