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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • Java - Library
    • 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

            Unassigned Unassigned
            ddas Devaraj Das
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: