Skip to content

Commit 5139a3e

Browse files
authored
Merge pull request #232 from samply/develop
Release 0.9.1
2 parents 1b6e576 + b6d5f9f commit 5139a3e

File tree

4 files changed

+12
-218
lines changed

4 files changed

+12
-218
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Samply.Beam 0.9.1 - 2025-03-21
2+
3+
This minor release includes a bug for multiple connections from the same proxy.
4+
5+
## Bugfixes
6+
7+
* Fixed a bug where the broker did not notice a disconnect from the beam proxy sending the reconnected beam proxy a 409 status code causing it to crash. [#230](https://github.com/samply/beam/pull/230)
8+
19
# Samply.Beam 0.9.0 - 2025-03-12
210

311
This major release of Beam 0.9 features a lot of internal changes and some bugfixes.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[workspace]
22
members = ["proxy", "broker", "shared", "tests", "beam-lib"]
33
resolver = "2"
4-
package.version = "0.9.0"
4+
package.version = "0.9.1"
55

66
[workspace.dependencies]
77
beam-lib = { path = "./beam-lib", features = [ "strict-ids" ] }

broker/src/serve_health.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use futures_core::Stream;
77
use serde::{Serialize, Deserialize};
88
use shared::{crypto_jwt::Authorized, Msg, config::CONFIG_CENTRAL};
99
use tokio::sync::{Mutex, OwnedMutexGuard, RwLock};
10+
use tracing::info;
1011

1112
use crate::compare_client_server_version::log_version_mismatch;
1213

@@ -145,7 +146,8 @@ async fn get_control_tasks(
145146
.clone();
146147
let Ok(connect_guard) = tokio::time::timeout(Duration::from_secs(60), status_mutex.lock_owned()).await
147148
else {
148-
return Err(StatusCode::CONFLICT);
149+
info!("Double connection!");
150+
return Err(StatusCode::OK);
149151
};
150152

151153
Ok(Sse::new(ForeverStream(connect_guard)).keep_alive(KeepAlive::new()))

deny.toml

Lines changed: 0 additions & 216 deletions
This file was deleted.

0 commit comments

Comments
 (0)