mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-25 15:16:24 +00:00
Fix for HER-2019 fetchHTTP httpBindAddress setting doesn't take effect
* FetchHTTP.java
use keyed properties for httpBindAddress setting, as expected in configureBindAddress(CrawlURI, HostConfiguration)
This commit is contained in:
@@ -505,12 +505,11 @@ public class FetchHTTP extends Processor implements Lifecycle {
|
||||
* Local IP address or hostname to use when making connections (binding
|
||||
* sockets). When not specified, uses default local address(es).
|
||||
*/
|
||||
protected String httpBindAddress = "";
|
||||
public String getHttpBindAddress(){
|
||||
return this.httpBindAddress;
|
||||
return (String) kp.get(HTTP_BIND_ADDRESS);
|
||||
}
|
||||
public void setHttpBindAddress(String address) {
|
||||
this.httpBindAddress = address;
|
||||
kp.put(HTTP_BIND_ADDRESS, address);
|
||||
}
|
||||
public static final String HTTP_BIND_ADDRESS = "httpBindAddress";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user