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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9
    • 0.10.0
    • C++ - Library
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: