Changeset 4859 in josm
- Timestamp:
- 2012-01-23T15:23:29+01:00 (14 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  trunk/src/org/openstreetmap/josm/io/OsmApi.java (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/src/org/openstreetmap/josm/io/OsmApi.javar4854 r4859 568 568 activeConnection = (HttpURLConnection)url.openConnection(); 569 569 activeConnection.setConnectTimeout(fastFail ? 1000 : Main.pref.getInteger("socket.timeout.connect",15)*1000); 570 activeConnection.setReadTimeout(fastFail ? 1000 : Main.pref.getInteger("socket.timeout.read",15)*1000); 570 if (fastFail) { 571 activeConnection.setReadTimeout(1000); 572 } 571 573 activeConnection.setRequestMethod(requestMethod); 572 574 if (doAuthenticate) { 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
