Daniel Martí e895d1f0d3 Merge branch 'master' into 'master'
Add timeout for Http request

The timeout of HttpURLConnection is 0, which means the request would never return if either connection or read timeouts, and the code would never catch these exceptions.

This patch set explicit timeout value (10s for connection timeout and 40s for read timeout), so the code would catch and handle timeout exceptions as you would expect.

Best,

See merge request !117
2015-08-11 00:20:17 +00:00
..
2015-08-05 16:48:45 -07:00
2015-08-11 00:20:17 +00:00
2015-08-09 12:15:06 -07:00
2015-08-09 21:33:36 -07:00