What steps will reproduce the problem?
1. New a ConsumerManager
2. Set connectTimeout property to some bigger value
3. Use the instance to create auth request, then the log will print default
timeout 3000ms when setup connection
{{{
private ConsumerManager manager;
public OpenIdConsumer() throws ConsumerException {
this.manager = new ConsumerManager();
this.manager.setConnectTimeout(300000);
this.manager.setSocketTimeout(300000);
this.manager.setAssociations(new InMemoryConsumerAssociationStore());
this.manager.setNonceVerifier(new InMemoryNonceVerifier(60000));
this.manager.getRealmVerifier().setEnforceRpId(false);
}
}}}
{{{
2011-04-25 19:58:48,287 ["http-apr-8080"-exec-2]
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
[DEBUG] Get connection: HttpRoute[{}->http://www.yahoo.com], timeout = 3000
}}}
Original issue reported on code.google.com by TangRui.cn on 25 Apr 2011 at 1:51
Original issue reported on code.google.com by
TangRui.cn
on 25 Apr 2011 at 1:51