HTTPClient unable to establish route between https and http

本秂侑毒 提交于 2019-12-04 10:00:11

HttpClient should be able to manage connections absolutely transparently to the user. This problem is likely to be caused by a regression introduced in the 4.2 release (see HTTPCLIENT-1193).

Use either PoolingConnectionManager or SingleConnectionManager instead of the default one until 4.2.1 version is released.

You are trying to use one connection to communicate to a number of different sites. AFAIR You have to create new connection (== new client) for every unique site.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!