Ignore:
Timestamp:
2017-07-21T21:40:40+12:00 (7 years ago)
Author:
ak19
Message:

Fix to getRedirectURL() being stuck forever if the proxy details are wrong. I still can't work out what my proxy settings should be to get downloading to work from a TSG-adminsitered machine, but at least now GLI doesn't hang requiring a ctrl-C to terminate it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/gui/DownloadPane.java

    r31593 r31816  
    614614        // find out whether we are dealing with redirects in the first place
    615615        connection.setInstanceFollowRedirects(false);
     616        connection.setConnectTimeout(5 * 1000); // ms
    616617       
    617618        // now check for whether we get a redirect response
Note: See TracChangeset for help on using the changeset viewer.