Skip to content

Commit e2babac

Browse files
committed
Merge pull request AsyncHttpClient#520 from twu8/master
use passed in config instead of default config. This is to fix config in...
2 parents 3c9152e + d6a16a5 commit e2babac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/org/asynchttpclient/DefaultAsyncHttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public DefaultAsyncHttpClient(AsyncHttpClientConfig config) {
105105
* @param providerClass a {@link AsyncHttpProvider}
106106
*/
107107
public DefaultAsyncHttpClient(String providerClass, AsyncHttpClientConfig config) {
108-
this(loadProvider(providerClass, config), new AsyncHttpClientConfig.Builder().build());
108+
this(loadProvider(providerClass, config), config);
109109
}
110110

111111
/**

0 commit comments

Comments
 (0)