Skip to content

Commit eb2993e

Browse files
committed
🐛 fix pingfall settings
1 parent 0f8857a commit eb2993e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ homepage = "https://github.com/XDSEC/WebSocketReflectorX"
99
license = "MIT"
1010
repository = "https://github.com/XDSEC/WebSocketReflectorX"
1111
rust-version = "1.89.0"
12-
version = "0.5.13"
12+
version = "0.5.14"
1313

1414
[profile.release]
1515
codegen-units = 1

crates/desktop/src/daemon/latency_worker.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ async fn pingfall(state: ServerState, instance: InstanceData, err: LatencyError)
136136

137137
match err {
138138
LatencyError::NonSuccessStatus(code) => {
139-
if pingfall_settings.fail_status.contains(&code)
140-
|| pingfall_settings.fail_status.is_empty()
139+
if pingfall_settings.status.contains(&code)
140+
|| pingfall_settings.status.is_empty()
141141
{
142142
on_instance_del(&state, &instance.local).await;
143143
}

crates/desktop/src/daemon/model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub struct BasicSettings {}
5555

5656
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
5757
pub struct PingFallSettings {
58-
pub fail_status: Vec<u16>,
58+
pub status: Vec<u16>,
5959
pub drop_unknown: bool,
6060
}
6161

windows/setup.nsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Unicode True
1111
!define DESCRIPTION "Controlled TCP-over-WebSocket forwarding tunnel."
1212
!define VERSIONMAJOR 0
1313
!define VERSIONMINOR 5
14-
!define VERSIONBUILD 13
14+
!define VERSIONBUILD 14
1515
!define INSTALL_DIR_DEFAULT "$PROGRAMFILES64\${APPNAME}"
1616
!define MUI_ABORTWARNING
1717
!define MUI_FINISHPAGE_RUN

0 commit comments

Comments
 (0)