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
Use HttpConnectionProvider mutate method #2462
Comments
yangbongsoo
added
status/need-triage
A new issue that still need to be evaluated as a whole
type/enhancement
A general enhancement
labels
Sep 4, 2022
yangbongsoo
changed the title
Return new Builder in ConnectionProvider mutate default method
Use HttpConnectionProvider mutate method
Sep 4, 2022
yangbongsoo
added a commit
to yangbongsoo/reactor-netty
that referenced
this issue
Sep 4, 2022
violetagg
added
type/bug
A general bug
and removed
type/enhancement
A general enhancement
status/need-triage
A new issue that still need to be evaluated as a whole
labels
Sep 7, 2022
yangbongsoo
added a commit
to yangbongsoo/reactor-netty
that referenced
this issue
Sep 8, 2022
violetagg
added a commit
that referenced
this issue
Sep 14, 2022
…der used to create HttpClient Fixes #2462
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
I want to make new
ConnectionProvider
usingdefaultHttpClient.configuration().connectionProvider().mutate()
operation.However I can't use
mutate()
method.Because HttpConnectionProvider(defaultHttpClient type is HttpConnectionProvider) don't override
mutate()
method and defaultmutate()
method return null.Desired solution
I made PR #2463
Considered alternatives
I have a question. Violetagg told me that
defaultHttpClient.configuration().connectionProvider()
should return the original ConnectionProvider.So I made below test code. I think that
configuredConnectionProvider.http1ConnectionProvider
return the original ConnectionProvider. Isn't it? Please tell me if I'm mistaken.The text was updated successfully, but these errors were encountered: