geosolutions-it / geoserver-manager

Java client library for GeoServer
MIT License
253 stars 192 forks source link

[HTTPUtils] mis-using HTTPClient #22

Open ccancellieri opened 12 years ago

ccancellieri commented 12 years ago

GeoServer Manager HTTPClient mis-using HTTPClient, it should create just one and share it in a field, and then use it to issue all requests.

Ref. here: http://hc.apache.org/httpclient-3.x/performance.html

aaime commented 12 years ago

Also have a look at how the http client is used in geotools wms client and the GeoSolutions http proxy, both stand up an efficient multithreaded http client that can use http 1.1 pipelining, controls timeouts and the like