Skip to content

Commit 4cd4dc2

Browse files
Merge pull request #6065 from nymtech/release/2025.17-isabirra
2 parents 983cba2 + b9fb2c4 commit 4cd4dc2

File tree

9 files changed

+52
-51
lines changed

9 files changed

+52
-51
lines changed

.github/workflows/ci-build-upload-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
platform: [ arc-ubuntu-22.04 ]
24+
platform: [ arc-linux-latest ]
2525

2626
runs-on: ${{ matrix.platform }}
2727
env:

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/native/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nym-client"
3-
version = "1.1.62"
3+
version = "1.1.63"
44
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>", "Jędrzej Stuczyński <andrew@nymtech.net>"]
55
description = "Implementation of the Nym Client"
66
edition = "2021"

clients/socks5/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nym-socks5-client"
3-
version = "1.1.62"
3+
version = "1.1.63"
44
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>"]
55
description = "A SOCKS5 localhost proxy that converts incoming messages to Sphinx and sends them to a Nym address"
66
edition = "2021"

gateway/src/node/client_handling/websocket/connection_handler/fresh.rs

Lines changed: 39 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -922,47 +922,48 @@ impl<R, S> FreshHandler<R, S> {
922922
S: AsyncRead + AsyncWrite + Unpin + Send,
923923
R: CryptoRng + RngCore + Send,
924924
{
925-
let initial_request = match self.wait_for_initial_message().await {
926-
Ok(req) => req,
927-
Err(err) => {
928-
self.send_and_forget_error_response(err).await;
929-
return None;
930-
}
931-
};
925+
loop {
926+
let req = self.wait_for_initial_message().await;
927+
let initial_request = match req {
928+
Ok(req) => req,
929+
Err(err) => {
930+
self.send_and_forget_error_response(err).await;
931+
return None;
932+
}
933+
};
932934

933-
// see if we managed to register the client through this request
934-
let maybe_auth_res = match self.handle_initial_client_request(initial_request).await {
935-
Ok(maybe_auth_res) => maybe_auth_res,
936-
Err(err) => {
937-
debug!("initial client request handling error: {err}");
938-
self.send_and_forget_error_response(err).await;
939-
return None;
940-
}
941-
};
935+
// see if we managed to register the client through this request
936+
let maybe_auth_res = match self.handle_initial_client_request(initial_request).await {
937+
Ok(maybe_auth_res) => maybe_auth_res,
938+
Err(err) => {
939+
debug!("initial client request handling error: {err}");
940+
self.send_and_forget_error_response(err).await;
941+
return None;
942+
}
943+
};
942944

943-
if let Some(registration_details) = maybe_auth_res {
944-
let (mix_sender, mix_receiver) = mpsc::unbounded();
945-
// Channel for handlers to ask other handlers if they are still active.
946-
let (is_active_request_sender, is_active_request_receiver) = mpsc::unbounded();
947-
self.shared_state.active_clients_store.insert_remote(
948-
registration_details.address,
949-
mix_sender,
950-
is_active_request_sender,
951-
registration_details.session_request_timestamp,
952-
);
953-
954-
AuthenticatedHandler::upgrade(
955-
self,
956-
registration_details,
957-
mix_receiver,
958-
is_active_request_receiver,
959-
)
960-
.await
961-
.inspect_err(|err| error!("failed to upgrade client handler: {err}"))
962-
.ok();
963-
}
945+
if let Some(registration_details) = maybe_auth_res {
946+
let (mix_sender, mix_receiver) = mpsc::unbounded();
947+
// Channel for handlers to ask other handlers if they are still active.
948+
let (is_active_request_sender, is_active_request_receiver) = mpsc::unbounded();
949+
self.shared_state.active_clients_store.insert_remote(
950+
registration_details.address,
951+
mix_sender,
952+
is_active_request_sender,
953+
registration_details.session_request_timestamp,
954+
);
964955

965-
None
956+
return AuthenticatedHandler::upgrade(
957+
self,
958+
registration_details,
959+
mix_receiver,
960+
is_active_request_receiver,
961+
)
962+
.await
963+
.inspect_err(|err| error!("failed to upgrade client handler: {err}"))
964+
.ok();
965+
}
966+
}
966967
}
967968

968969
pub(crate) async fn wait_for_initial_message(

nym-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[package]
55
name = "nym-api"
66
license = "GPL-3.0"
7-
version = "1.1.65"
7+
version = "1.1.66"
88
authors.workspace = true
99
edition = "2021"
1010
rust-version.workspace = true

service-providers/network-requester/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[package]
55
name = "nym-network-requester"
66
license = "GPL-3.0"
7-
version = "1.1.63"
7+
version = "1.1.64"
88
authors.workspace = true
99
edition.workspace = true
1010
rust-version = "1.70"

tools/nym-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nym-cli"
3-
version = "1.1.62"
3+
version = "1.1.63"
44
authors.workspace = true
55
edition = "2021"
66
license.workspace = true

tools/nymvisor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nymvisor"
3-
version = "0.1.27"
3+
version = "0.1.28"
44
authors.workspace = true
55
repository.workspace = true
66
homepage.workspace = true

0 commit comments

Comments
 (0)