Changeset 15222 in josm for trunk/src/org


Ignore:
Timestamp:
2019-07-07T15:16:36+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #17882 - Disable automatic HTTP POST retry after 5 minutes, see https://bugs.openjdk.java.net/browse/JDK-6382788

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/oauth/SignpostAdapters.java

    r13852 r15222  
    4040        @Override
    4141        protected HttpRequest createRequest(String endpointUrl) throws Exception {
    42             return new HttpRequest(HttpClient.create(new URL(endpointUrl), "GET"));
     42            return new HttpRequest(HttpClient.create(new URL(endpointUrl)));
    4343        }
    4444
  • trunk/src/org/openstreetmap/josm/gui/MainApplication.java

    r15007 r15222  
    997997            Utils.updateSystemProperty("jsse.enableSNIExtension", "false");
    998998        }
     999        // Disable automatic POST retry after 5 minutes, see #17882 / https://bugs.openjdk.java.net/browse/JDK-6382788
     1000        Utils.updateSystemProperty("sun.net.http.retryPost", "false");
    9991001    }
    10001002
Note: See TracChangeset for help on using the changeset viewer.