Skip to content

Commit

Permalink
use connection manager that supports multiple threads
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Gulley authored and nirvdrum committed Jun 7, 2010
1 parent 1600a32 commit d9a507b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -24,7 +24,7 @@ public HttpClient(org.apache.commons.httpclient.HttpClient client) {
}

public HttpClient() {
this(new org.apache.commons.httpclient.HttpClient());
this(new org.apache.commons.httpclient.HttpClient(new org.apache.commons.httpclient.MultiThreadedHttpConnectionManager()));
}

public Response get(String url) throws IOException {
Expand Down

0 comments on commit d9a507b

Please sign in to comment.