feat(pool): add a Negotiate pooling service#228
Merged
Conversation
seanmonstar
force-pushed
the
pool-negotiate
branch
from
September 16, 2025 13:58
7d0e8bb to
7acab98
Compare
seanmonstar
force-pushed
the
pool-cache
branch
from
September 16, 2025 21:01
7fafc66 to
6d7eef9
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
2 times, most recently
from
September 16, 2025 21:07
6c3f61d to
11159bb
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
November 4, 2025 20:57
11159bb to
e644e08
Compare
seanmonstar
force-pushed
the
pool-cache
branch
2 times, most recently
from
November 4, 2025 21:59
f5b6508 to
4569561
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
November 4, 2025 21:59
e644e08 to
6844862
Compare
seanmonstar
force-pushed
the
pool-cache
branch
from
November 11, 2025 19:23
4569561 to
f5dace9
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
November 11, 2025 19:23
6844862 to
bbd2d96
Compare
seanmonstar
force-pushed
the
pool-cache
branch
from
November 11, 2025 22:40
f5dace9 to
afefcd5
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
November 11, 2025 22:40
bbd2d96 to
e2cdd7f
Compare
seanmonstar
force-pushed
the
pool-cache
branch
from
November 11, 2025 22:42
afefcd5 to
edf0db4
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
November 11, 2025 22:42
e2cdd7f to
1e18440
Compare
seanmonstar
force-pushed
the
pool-cache
branch
from
November 14, 2025 16:28
edf0db4 to
9d6cc29
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
November 14, 2025 16:28
1e18440 to
8665da1
Compare
seanmonstar
force-pushed
the
pool-cache
branch
from
November 18, 2025 17:47
9d6cc29 to
b96364a
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
November 18, 2025 17:47
8665da1 to
288b6ce
Compare
seanmonstar
force-pushed
the
pool-cache
branch
from
November 18, 2025 19:23
b96364a to
9c06b3a
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
2 times, most recently
from
November 18, 2025 19:30
d2465d2 to
bdc1ab6
Compare
seanmonstar
force-pushed
the
pool-cache
branch
2 times, most recently
from
November 18, 2025 22:00
2745303 to
b7a439b
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
November 18, 2025 22:00
bdc1ab6 to
ac7eaf1
Compare
seanmonstar
force-pushed
the
pool-cache
branch
from
November 25, 2025 14:34
b7a439b to
65e7ba4
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
November 25, 2025 14:35
ac7eaf1 to
1414b0f
Compare
seanmonstar
force-pushed
the
pool-cache
branch
from
December 2, 2025 15:41
65e7ba4 to
a9f8bb9
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
December 2, 2025 15:41
1414b0f to
8ee620a
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
December 2, 2025 16:12
8ee620a to
93045fe
Compare
seanmonstar
force-pushed
the
pool-cache
branch
from
December 2, 2025 16:12
a9f8bb9 to
98155e1
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
December 2, 2025 16:22
93045fe to
eb3c1a5
Compare
seanmonstar
force-pushed
the
pool-negotiate
branch
from
December 2, 2025 16:32
eb3c1a5 to
99626ff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Creates a
Negotiatetype that uses an inner make-service, inspects the result, and then either returns an upgraded service, or fallback, depending on the negotiated. This is somewhat like aRouter, but instead of routing on the request, it's routing on the response. It's an advanced form of anEither. The original use case is that of a connector that can sends ALPN to a destination, and can either comeback with HTTP/2 negotiated, or fallback to HTTP/1.Closes hyperium/hyper#3955