thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Emmenlauer (Jira)" <j...@apache.org>
Subject [jira] [Created] (THRIFT-5178) THttpClient should work without specifying host
Date Mon, 20 Apr 2020 11:23:00 GMT
Mario Emmenlauer created THRIFT-5178:
----------------------------------------

             Summary: THttpClient should work without specifying host
                 Key: THRIFT-5178
                 URL: https://issues.apache.org/jira/browse/THRIFT-5178
             Project: Thrift
          Issue Type: Improvement
          Components: C++ - Library
    Affects Versions: 0.13.0
            Reporter: Mario Emmenlauer
            Assignee: Mario Emmenlauer


TheĀ [constructors for THttpClient|https://github.com/apache/thrift/blob/9e864d57026b4905862108418ba9482892fb1f65/lib/cpp/src/thrift/transport/THttpClient.h#L31]
require specifying a `host`. However not all supported socket types would require a host.
I.e. when using a Unix domain socket, host is unused (except for a debugging message that
includes the connected host).

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message