From 637628ff48dee1e122902b7f5d8a4132b60d852e Mon Sep 17 00:00:00 2001 From: Vinicius Fortuna Date: Tue, 5 Nov 2024 19:00:28 -0500 Subject: [PATCH] Update config --- x/configurl/split.go | 2 +- x/go.mod | 2 +- x/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/x/configurl/split.go b/x/configurl/split.go index e6d89b3a..48242010 100644 --- a/x/configurl/split.go +++ b/x/configurl/split.go @@ -34,6 +34,6 @@ func registerSplitStreamDialer(r TypeRegistry[transport.StreamDialer], typeID st if err != nil { return nil, fmt.Errorf("prefixBytes is not a number: %v. Split config should be in split: format", prefixBytesStr) } - return split.NewStreamDialer(sd, int64(prefixBytes)) + return split.NewStreamDialer(sd, split.NewFixedSplitIterator(int64(prefixBytes))) }) } diff --git a/x/go.mod b/x/go.mod index ef66a9d5..f5f452c5 100644 --- a/x/go.mod +++ b/x/go.mod @@ -3,7 +3,7 @@ module github.com/Jigsaw-Code/outline-sdk/x go 1.22 require ( - github.com/Jigsaw-Code/outline-sdk v0.0.17 + github.com/Jigsaw-Code/outline-sdk v0.0.18-0.20241105230628-4801a034fbaf // Use github.com/Psiphon-Labs/psiphon-tunnel-core@staging-client as per // https://github.com/Psiphon-Labs/psiphon-tunnel-core/?tab=readme-ov-file#using-psiphon-with-go-modules github.com/Psiphon-Labs/psiphon-tunnel-core v1.0.11-0.20240619172145-03cade11f647 diff --git a/x/go.sum b/x/go.sum index 70bbc73a..b8c6f4f3 100644 --- a/x/go.sum +++ b/x/go.sum @@ -6,8 +6,8 @@ github.com/AndreasBriese/bbloom v0.0.0-20170702084017-28f7e881ca57 h1:CVuXDbdzPW github.com/AndreasBriese/bbloom v0.0.0-20170702084017-28f7e881ca57/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8= github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/Jigsaw-Code/outline-sdk v0.0.17 h1:xkGsp3fs+5EbIZEeCEPI1rl0oyCrOLuO7YSK0gB75HE= -github.com/Jigsaw-Code/outline-sdk v0.0.17/go.mod h1:CFDKyGZA4zatKE4vMLe8TyQpZCyINOeRFbMAmYHxodw= +github.com/Jigsaw-Code/outline-sdk v0.0.18-0.20241105230628-4801a034fbaf h1:nJFLb0ukT/K4zyQod4vXLqimWq9ekzgC7i5Q+J3x6Rg= +github.com/Jigsaw-Code/outline-sdk v0.0.18-0.20241105230628-4801a034fbaf/go.mod h1:CFDKyGZA4zatKE4vMLe8TyQpZCyINOeRFbMAmYHxodw= github.com/Psiphon-Inc/rotate-safe-writer v0.0.0-20210303140923-464a7a37606e h1:NPfqIbzmijrl0VclX2t8eO5EPBhqe47LLGKpRrcVjXk= github.com/Psiphon-Inc/rotate-safe-writer v0.0.0-20210303140923-464a7a37606e/go.mod h1:ZdY5pBfat/WVzw3eXbIf7N1nZN0XD5H5+X8ZMDWbCs4= github.com/Psiphon-Labs/bolt v0.0.0-20200624191537-23cedaef7ad7 h1:Hx/NCZTnvoKZuIBwSmxE58KKoNLXIGG6hBJYN7pj9Ag=