mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-24 10:33:15 +08:00
fix bug
This commit is contained in:
parent
705e9e0152
commit
74c3df5269
@ -597,7 +597,8 @@ namespace NekoRay {
|
|||||||
auto stream = GetStreamSettings(ent->bean.data());
|
auto stream = GetStreamSettings(ent->bean.data());
|
||||||
if (stream != nullptr && !stream->packet_encoding.isEmpty()) {
|
if (stream != nullptr && !stream->packet_encoding.isEmpty()) {
|
||||||
muxObj["packetEncoding"] = stream->packet_encoding;
|
muxObj["packetEncoding"] = stream->packet_encoding;
|
||||||
} else if (stream != nullptr && stream->network == "grpc") {
|
}
|
||||||
|
if (stream != nullptr && stream->network == "grpc") {
|
||||||
// ignore mux.cool for gRPC
|
// ignore mux.cool for gRPC
|
||||||
} else {
|
} else {
|
||||||
outbound["mux"] = muxObj;
|
outbound["mux"] = muxObj;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user