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

sockaddr type isn't always large enough for the return of getsockname

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.3, 0.10.0
    • 0.10.0
    • Lua - Library

    Description

      Based on a conversation in THRIFT-1944 this was still an issue mid-2015, moving it out to a separate ticket.

      Ben Craig said:

      sockaddr_storage is recommended data type for this. I think main case is ipv6

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jking3 James E. King III
            jking3 James E. King III
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment