Skip to content

Conversation

@howardjohn
Copy link
Contributor

Currently pool is not pub, and nothing pub uses it, so it isn't accessible. This exposes them for use.

Discussed here: https://discordapp.com/channels/500028886025895936/670880858630258689/1053021031805227109

//
// See https://github.com/hyperium/hyper/issues/1429
pub(super) trait Poolable: Unpin + Send + Sized + 'static {
pub trait Poolable: Unpin + Send + Sized + 'static {
Copy link
Member

Choose a reason for hiding this comment

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

I'm fine with just making it all public to start with, to unblock people, but I do think the exposed design could be improved, by making the Pool basically a MakeService over another MakeService (a caching layer over the Connect stuff).

Currently `pool` is not pub, and nothing `pub` uses it, so it isn't
accessible. This exposes them for use.
@seanmonstar seanmonstar merged commit f14e9ac into hyperium:master Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants