fix(protocol): keep the highway upload address

The session response address was discarded, so uploads used the default host.

Fixes #513
This commit is contained in:
DrSmoothl committed 2026-10-06 15:20:24 +08:00
1 parent f95d247e73
commit 44679bebd4
2 files changed
+23 -2

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
import type { pb, pb_repeated, int_32, uint_32, uint_64, bool, bytes } from '@snowluma/proton';
import type { pb, pb_repeated, int_32, uint_32, uint_64, fixed_32, bool, bytes } from '@snowluma/proton';
import type {
IndexNode,
PictureInfo,
@@ -185,7 +185,7 @@ export interface HttpConn0x6FF501Request {
export interface ServerAddr {
type?: pb<1, uint_32>;
ip?: pb<2, uint_32>;
ip?: pb<2, fixed_32>;
port?: pb<3, uint_32>;
area?: pb<4, uint_32>;
}