Skip to content

feat: improve processor reloading and allow it for SSL - #87

Open
reneca wants to merge 3 commits into
mainfrom
reload_improve
Open

feat: improve processor reloading and allow it for SSL#87
reneca wants to merge 3 commits into
mainfrom
reload_improve

Conversation

@reneca

@reneca reneca commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Must have to do ProSA-Hyper upgrade to ProSA 0.5.

@reneca
reneca requested review from Timmy80 and oschijns August 6, 2026 14:57
@reneca reneca self-assigned this Aug 6, 2026
@reneca reneca added the enhancement New feature or request label Aug 6, 2026
reneca added 2 commits August 18, 2026 17:32
Signed-off-by: Jeremy HERGAULT <jeremy.hergault@worldline.com>
Signed-off-by: Jeremy HERGAULT <jeremy.hergault@worldline.com>
Signed-off-by: Jeremy HERGAULT <jeremy.hergault@worldline.com>
Comment on lines +344 to +347
pub fn reload_proc<S>(&self, proc: &dyn ProcBusParam, adaptor: &dyn Adaptor) -> Option<S>
where
S: DeserializeOwned,
{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a bit odd that a function that can potential fail returns a Option type instead of an Result type.

snapshot with `SslConfigContext`, use the lower-level `Stream::connect_openssl` API, and replace the
snapshot only when their certificate source reports a change.

Both settings implement `PartialEq`, and `set_alpn()` is idempotent, so normalise before comparing.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does it means to normalize ?
so normalise before comparing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants