Changeset 5084 in josm
- Timestamp:
- 2012-03-14T23:30:40+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r4859 r5084 567 567 System.out.print(requestMethod + " " + url + "... "); 568 568 activeConnection = (HttpURLConnection)url.openConnection(); 569 // fix #5369, see http://www.tikalk.com/java/forums/httpurlconnection-disable-keep-alive 570 activeConnection.setRequestProperty("Connection", "close"); 569 571 activeConnection.setConnectTimeout(fastFail ? 1000 : Main.pref.getInteger("socket.timeout.connect",15)*1000); 570 572 if (fastFail) {
Note:
See TracChangeset
for help on using the changeset viewer.