Skip to content

Conversation

@bysunexus
Copy link

DefaultApacheHttpClientBuilder修改为单例模式,避免在默认情况下多service的时候出现内存或线程耗尽的问题

@stephenwang2017
Copy link

stephenwang2017 commented Sep 27, 2017

为什么还要自己写一个啊,用apache 的 commons 连接池不就行了?
http://blog.csdn.net/xlxxcc/article/details/52402931
http://commons.apache.org/proper/commons-pool/examples.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants