You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/11/10 21:25:33 UTC

[jira] [Resolved] (THRIFT-2811) Make remote socket address accessible

     [ https://issues.apache.org/jira/browse/THRIFT-2811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer resolved THRIFT-2811.
--------------------------------
    Resolution: Fixed

Committed, thanks Craig!

> Make remote socket address accessible
> -------------------------------------
>
>                 Key: THRIFT-2811
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2811
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Go - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9.3
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)