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

Writing on a disconnected socket on Mac causes SIG PIPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 0.10.0
    • C++ - Library
    • None
    • Mac OSX

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: