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

TServerSocket::listen() is throwing exceptions with misleading information

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.10.0
    • Component/s: C++ - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Due to a problem with bind() an exception was thrown.
      The text was:
      "Could not bind: Transport endpoint is not connected"
      which doesn't make sense.

      It turned out that errno had been overwritten.
      The correct text would have been:
      "Could not bind: Address already in use"

        Attachments

        1. errno_copy.patch
          2 kB
          Frank Meerkoetter

          Activity

            People

            • Assignee:
              jking3 James E. King III
              Reporter:
              bmeerkoetter Frank Meerkoetter
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: