loopj/android-async-http — Issue #31: ConnectionTimeout not set
Author: kchappelow
Created: 2012-01-13 14:46:51+00:00
State: open

I was testing the use of this library when on a network that isn't connected to the host. It was taking a long time to timeout and I found that by adding:

HttpConnectionParams.setConnectionTimeout(httpParams, socketTimout);

to the AsyncHttpClient constructor after the call to setSoTimeout it takes care of this issue.