Ignore:
Timestamp:
2015-12-27T22:01:58+01:00 (5 years ago)
Author:
simon04
Message:

see #12231 - No read timeout for OsmApi connections

Fixes regression from r9172

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/HttpClient.java

    r9179 r9182  
    9292
    9393        if ("PUT".equals(requestMethod) || "POST".equals(requestMethod) || "DELETE".equals(requestMethod)) {
     94            Main.info("{0} {1} ({2} kB) ...", requestMethod, url, requestBody.length / 1024);
    9495            headers.put("Content-Length", String.valueOf(requestBody.length));
    9596            connection.setDoOutput(true);
     
    112113                }
    113114            } catch (IOException e) {
     115                Main.warn(e);
    114116                //noinspection ThrowableResultOfMethodCallIgnored
    115117                Main.addNetworkError(url, Utils.getRootCause(e));
Note: See TracChangeset for help on using the changeset viewer.