Changeset 5324 in josm for trunk


Ignore:
Timestamp:
2012-07-11T19:05:52+02:00 (12 years ago)
Author:
simon04
Message:

fix #7640 - History query will not cancel or timeout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmServerReader.java

    r5317 r5324  
    6464            try {
    6565                activeConnection = (HttpURLConnection)url.openConnection();
     66                // fix #7640, see http://www.tikalk.com/java/forums/httpurlconnection-disable-keep-alive
     67                activeConnection.setRequestProperty("Connection", "close");
    6668            } catch(Exception e) {
    6769                throw new OsmTransferException(tr("Failed to open connection to API {0}.", url.toExternalForm()), e);
Note: See TracChangeset for help on using the changeset viewer.