Skip to content

hyper client lifetime issue #7

Closed
@jgraef

Description

@jgraef

I had to remove an unnecessary 'static lifetime bound in hyper, so that we can mut-borrow connections to it. Currently the socks server needs this, because it wants to shut down the connections once the layer stack is done. But it is generally better not to require the connection to be static.

The workspace Cargo.toml contains a patch section to use my fix:

[patch.crates-io]
hyper = { git = "https://github.com/jgraef/hyper.git", branch = "non-static-client-io" }

Once the PR is merged upstream (and released), we can remove that patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions