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

THttpClient should work without specifying host

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.14.0
    • Component/s: C++ - Library
    • Labels:
      None

      Description

      TheĀ constructors for THttpClient require specifying a `host`. However not all supported socket types would require a host. I.e. when using a Unix domain socket, the `host` property does not convey additional information, as the socket only works on localhost. The constructor of the socket (the underlying transport) does not require host.

      It would be nice if there was a constructor that avoids host (making it optional).

        Attachments

          Activity

            People

            • Assignee:
              emmenlau Mario Emmenlauer
              Reporter:
              emmenlau Mario Emmenlauer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: