Changeset 30373bf


Ignore:
Timestamp:
Feb 27, 2011 1:46:55 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
21f14ac2
Parents:
5beb739
Message:
  • Reseed: Disable HTTPS until we have enough working hosts again
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/ConfigReseedHelper.java

    r5beb739 r30373bf  
    2323    public String modeChecked(int mode) {
    2424        boolean required =  _context.getBooleanProperty(Reseeder.PROP_SSL_REQUIRED);
    25         boolean disabled =  _context.getBooleanProperty(Reseeder.PROP_SSL_DISABLE);
     25        boolean disabled =  _context.getBooleanPropertyDefaultTrue(Reseeder.PROP_SSL_DISABLE);
    2626        if ((mode == 0 && (!disabled) && (!required)) ||
    2727            (mode == 1 && (!disabled) && required) ||
  • router/java/src/net/i2p/router/networkdb/reseed/Reseeder.java

    r5beb739 r30373bf  
    174174            String URLs = _context.getProperty(PROP_RESEED_URL);
    175175            boolean defaulted = URLs == null;
    176             boolean SSLDisable = _context.getBooleanProperty(PROP_SSL_DISABLE);
     176            boolean SSLDisable = _context.getBooleanPropertyDefaultTrue(PROP_SSL_DISABLE);
    177177            if (defaulted) {
    178178                if (SSLDisable)
Note: See TracChangeset for help on using the changeset viewer.