fix(protocol): switch highway nodes on connection failure
This commit is contained in:
1 parent
b90d34c9d8
commit
b6d86a586d
4 files changed
+320
-30
No files matched your search
@@ -35,8 +35,7 @@ vi.mock('@snowluma/protocol/highway', async () => {
|
||||
fetchHighwaySession: vi.fn(async () => ({
|
||||
sigSession: new Uint8Array([0xaa]),
|
||||
sessionKey: new Uint8Array([0xbb]),
|
||||
host: 'highway.example',
|
||||
port: 80,
|
||||
servers: [{ host: 'highway.example', port: 80 }],
|
||||
})),
|
||||
uploadHighwayHttp: vi.fn(async () => undefined),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user