Repair FeignClient: Use feign dependencies for okhttp/httpclient#42
Repair FeignClient: Use feign dependencies for okhttp/httpclient#42tfabien wants to merge 2 commits intodeveth0:developfrom
Conversation
Use `io.github.openfeign:feign-okhttp` and `io.github.openfeign:feign-httpclient instead` of `com.squareup.okhttp3:okhttp` and `org.apache.httpcomponents:httpclient` If not, Feign client won't use these clients and won't honor the `feign.okhttp.enabled` / `feign.httpclient.enabled` configuration (and fallback to sun httpClient, without using the proxy selector)
Repair FeignClient: Use feign dependencies for okhttp/httpclient
|
hey, thanks for the PR! Are you sure, those changes are sufficient, they only change the sample-project but not the starter / autoconfig: |
|
I'll update the |
|
interesting question, i'm 100% sure, if it's required to have those in starter, but given that the official starters also include depencendies (and the autoconfigs optional dependencies), I guess we should keep em ;) |
Use
io.github.openfeign:feign-okhttpandio.github.openfeign:feign-httpclient insteadofcom.squareup.okhttp3:okhttpandorg.apache.httpcomponents:httpclientIf not, Feign client won't use these clients and won't honor the
feign.okhttp.enabled/feign.httpclient.enabledconfiguration (and fallback to sun httpClient, without using the proxy selector)