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

Make remote client's IP address available for all socket related transports

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: Java - Library
    • Labels:
      None

      Description

      I have a requirement where I want to inspect a remote client's IP address when it talks to the server over the Sasl transport. If the transport is TSocket, I could do the following in my implementation of TProcessor.process(TProtocol inProt, TProtocol outProt):
      ((TSocket)inProt.getTransport()).getSocket().getInetAddress()
      I need a similar functionality for the Sasl transport as well.

        Attachments

        1. 1053.patch
          0.7 kB
          Devaraj Das

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              devaraj Devaraj Das
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: