================ @@ -4952,6 +4930,28 @@ static int DuplicateFileDescriptor(int fd) { #endif } +static llvm::Expected<std::pair<Socket::SocketProtocol, std::string>> +parseConnection(llvm::StringRef conn) { + if (conn.contains("://")) { ---------------- ashgti wrote:
Updated this to validate the connection and used the URI Parser to parse the connection. https://github.com/llvm/llvm-project/pull/116392 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits