We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b968803 commit 5d5bb2dCopy full SHA for 5d5bb2d
src/viam/sdk/rpc/dial.cpp
@@ -156,7 +156,7 @@ std::shared_ptr<ViamChannel> ViamChannel::dial(const char* uri,
156
throw Exception(ErrorCondition::k_connection, "Unable to establish connecting path");
157
}
158
159
- std::string localhost_prefix("127.0.0.1");
+ const std::string localhost_prefix("127.0.0.1");
160
std::string address;
161
if (std::string(proxy_path).find(localhost_prefix) == std::string::npos) {
162
// proxy path is not a localhost address and is therefore a unix domain socket (UDS)
0 commit comments