Permalink
Browse files

use connection manager that supports multiple threads

  • Loading branch information...
1 parent 1600a32 commit d9a507bd87bcf7e036cee446f5ea5eaeeed59b17 Chris Gulley committed with Jun 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 infrastructure/core/src/main/com/thoughtworks/selenium/grid/HttpClient.java
@@ -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 {

0 comments on commit d9a507b

Please sign in to comment.