Skip to content

HttpClient per SmokerProxy instance #15

@CamSoper

Description

@CamSoper

Priority

Medium

Issue

Each SmokerProxy instance creates its own HttpClient.

Why it's not "low-hanging"

The callers (Cli, Mqtt) each create one SmokerProxy for the process lifetime, so socket exhaustion isn't a practical risk here. Fixing it "properly" means IHttpClientFactory or a static instance, which changes the DI story.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions