What's the default timeout of using HttpGet and DefaultHttpClient?
The code is like below. If I don't set any timeout parameters, what is the default time out for "new DefaultHttpClient().execute(mConnection)"?
mConnection = new HttpGet(mURL);
mResponse = new DefaultHttpClient().execute(mCon开发者_StackOverflow社区nection);
Thanks.
The default connection timeout is around 60-70 seconds depending on the platform. The default read timeout is infinity.
精彩评论