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

Make remote socket address accessible

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.3
    • Go - Library
    • None
    • Patch Available

    Description

      GitHub user captncraig opened a pull request:

      https://github.com/apache/thrift/pull/255

      Go Library - Make remote socket address accessible

      In my server I would like to log the remote ip address of incoming connections. This patch makes the addr available on TSocket via an accessor, so my server implementation can read it and log it or do other things with it.

      You can merge this pull request into a Git repository by running:

      $ git pull https://github.com/captncraig/thrift addr

      Alternatively you can review and apply these changes as the patch at:

      https://github.com/apache/thrift/pull/255.patch

      To close this pull request, make a commit to your master/trunk branch
      with (at least) the following in the commit message:

      This closes #255

      Attachments

        Activity

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

          People

            jensg Jens Geyer
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment