steinz / lab-specimen-transport-system

Automatically exported from code.google.com/p/lab-specimen-transport-system
0 stars 0 forks source link

Android: Queries should have timeouts #155

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Http requests should have timeouts (both socket and connection?). Right now a 
query can run forever and hang the application.

Original issue reported on code.google.com by phil...@gmail.com on 31 May 2011 at 10:12

GoogleCodeExporter commented 9 years ago
I set a 2 minute timeout for connections.

Original comment by melonhea...@gmail.com on 31 May 2011 at 7:32

GoogleCodeExporter commented 9 years ago
Yizhou: Are the connection timeout exceptions really necessary? Is this much 
different than any other connection breakage?

Original comment by melonhea...@gmail.com on 1 Jun 2011 at 9:25

GoogleCodeExporter commented 9 years ago

Original comment by melonhea...@gmail.com on 1 Jun 2011 at 10:54

GoogleCodeExporter commented 9 years ago
The exceptions are so that the android app can distinguish between connection 
errors and invalid data errors. Anyway, this has been resolved so closing this.

Original comment by phil...@gmail.com on 2 Jun 2011 at 5:13