- Timestamp:
- 2015-07-04T17:40:16+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmServerReader.java
r8510 r8563 135 135 throw new OsmTransferException(tr("Failed to open connection to API {0}.", url.toExternalForm()), e); 136 136 } 137 Utils.setupURLConnection(activeConnection); 137 138 if (cancel) { 138 139 activeConnection.disconnect(); … … 148 149 activeConnection.setRequestProperty("Accept-Encoding", "gzip, deflate"); 149 150 } 150 151 activeConnection.setConnectTimeout(Main.pref.getInteger("socket.timeout.connect", 15)*1000);152 151 153 152 try {
Note:
See TracChangeset
for help on using the changeset viewer.