Changeset 1102 for trunk/src/org/expeditee/io/ProxyAuth.java
- Timestamp:
- 05/10/18 16:04:51 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/io/ProxyAuth.java
r919 r1102 24 24 public class ProxyAuth extends Authenticator { 25 25 26 public static final int MAX_ATTEMPTS = 5; 27 26 28 private String httpUser = null, httpPass = null, httpsUser = null, httpsPass = null; 27 29 private int attempts = 0; … … 37 39 // stop it from breaking from a redirect loop 38 40 attempts++; 39 if(attempts > 5) {41 if(attempts > MAX_ATTEMPTS) { 40 42 return null; 41 43 }
Note:
See TracChangeset
for help on using the changeset viewer.