mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-18 22:20:06 +08:00
fix: 修复 grpc case 缺少 break 导致序列化数据错乱
This commit is contained in:
parent
110f3b21b2
commit
4326aab16d
@ -140,6 +140,7 @@ public abstract class StandardV2RayBean extends AbstractBean {
|
|||||||
}
|
}
|
||||||
case "grpc": {
|
case "grpc": {
|
||||||
output.writeString(path);
|
output.writeString(path);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case "httpupgrade": {
|
case "httpupgrade": {
|
||||||
output.writeString(host);
|
output.writeString(host);
|
||||||
@ -200,6 +201,7 @@ public abstract class StandardV2RayBean extends AbstractBean {
|
|||||||
}
|
}
|
||||||
case "grpc": {
|
case "grpc": {
|
||||||
path = input.readString();
|
path = input.readString();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case "httpupgrade": {
|
case "httpupgrade": {
|
||||||
host = input.readString();
|
host = input.readString();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user