-
-
Notifications
You must be signed in to change notification settings - Fork 165
feat(pool): add a Negotiate pooling service #228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
+642
−1
Conversation
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
7d0e8bb to
7acab98
Compare
7fafc66 to
6d7eef9
Compare
6c3f61d to
11159bb
Compare
11159bb to
e644e08
Compare
f5b6508 to
4569561
Compare
e644e08 to
6844862
Compare
4569561 to
f5dace9
Compare
6844862 to
bbd2d96
Compare
f5dace9 to
afefcd5
Compare
bbd2d96 to
e2cdd7f
Compare
afefcd5 to
edf0db4
Compare
e2cdd7f to
1e18440
Compare
edf0db4 to
9d6cc29
Compare
1e18440 to
8665da1
Compare
9d6cc29 to
b96364a
Compare
8665da1 to
288b6ce
Compare
b96364a to
9c06b3a
Compare
d2465d2 to
bdc1ab6
Compare
2745303 to
b7a439b
Compare
bdc1ab6 to
ac7eaf1
Compare
b7a439b to
65e7ba4
Compare
ac7eaf1 to
1414b0f
Compare
65e7ba4 to
a9f8bb9
Compare
1414b0f to
8ee620a
Compare
8ee620a to
93045fe
Compare
a9f8bb9 to
98155e1
Compare
93045fe to
eb3c1a5
Compare
eb3c1a5 to
99626ff
Compare
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