diff --git a/src/org/openstreetmap/josm/io/OsmServerReader.java b/src/org/openstreetmap/josm/io/OsmServerReader.java
index b5628f1..b80c494 100644
|
a
|
b
|
public abstract class OsmServerReader extends OsmConnection {
|
| 63 | 63 | } |
| 64 | 64 | try { |
| 65 | 65 | activeConnection = (HttpURLConnection)url.openConnection(); |
| | 66 | // fix #7640, see http://www.tikalk.com/java/forums/httpurlconnection-disable-keep-alive |
| | 67 | activeConnection.setRequestProperty("Connection", "close"); |
| 66 | 68 | } catch(Exception e) { |
| 67 | 69 | throw new OsmTransferException(tr("Failed to open connection to API {0}.", url.toExternalForm()), e); |
| 68 | 70 | } |