Changeset 9218 in josm for trunk/src/org


Ignore:
Timestamp:
2015-12-30T01:13:43+01:00 (4 years ago)
Author:
Don-vip
Message:

fix #12152 - re-enable SNI by default

File:
1 edited

Legend:

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

    r9217 r9218  
    15801580            }
    15811581        }
    1582         // Workaround to fix a Java "feature"
    1583         // See http://stackoverflow.com/q/7615645/2257172 and #9875
    1584         if (getBoolean("jdk.tls.disableSNIExtension", true)) {
     1582        // Possibility to disable SNI (not by default) in case of misconfigured https servers
     1583        // See #9875 + http://stackoverflow.com/a/14884941/2257172
     1584        // then https://josm.openstreetmap.de/ticket/12152#comment:5 for details
     1585        if (getBoolean("jdk.tls.disableSNIExtension", false)) {
    15851586            Utils.updateSystemProperty("jsse.enableSNIExtension", "false");
    15861587        }
Note: See TracChangeset for help on using the changeset viewer.