fix no path for tcp with http header (#875)

This commit is contained in:
Smaznet
2023-09-12 14:38:12 +03:30
committed by GitHub
parent 33686987bf
commit db565a3050
2 changed files with 3 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ namespace NekoGui_fmt {
if (!stream->path.isEmpty()) query.addQueryItem("serviceName", stream->path);
} else if (stream->network == "tcp") {
if (stream->header_type == "http") {
if (!stream->path.isEmpty()) query.addQueryItem("path", stream->path);
query.addQueryItem("headerType", "http");
query.addQueryItem("host", stream->host);
}