There's a bug in the source code that prevents READ_TIMEOUT parameter to be
applied:
1. In the source from trunk:
/src/main/java/mx/bigdata/jcalais/rest/CalaisRestClient.java
2. Goto private post(...) method:
Find those lines:
conn.setConnectTimeout(config.get(ConnParam.CONNECT_TIMEOUT));
conn.setReadTimeout(config.get(ConnParam.CONNECT_TIMEOUT));
Should be:
conn.setConnectTimeout(config.get(ConnParam.CONNECT_TIMEOUT));
conn.setReadTimeout(config.get(ConnParam.READ_TIMEOUT));
Original issue reported on code.google.com by darek.ko...@gmail.com on 6 Aug 2012 at 1:45
Original issue reported on code.google.com by
darek.ko...@gmail.com
on 6 Aug 2012 at 1:45