Verified Commit 963b9e4f authored by Marc Vef's avatar Marc Vef
Browse files

Rudimentary Proxy support for extended file systems.

Proxy must be restarted to know about the file system extension.
parent bac0881a
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -361,6 +361,8 @@ expand_setup() {
        exit 1
    fi
    # if proxy is enabled error out
    # to support proxy, all proxies need to be shutdown during expansion and started up after again
    # to get the new configuration.
    if [[ ${USE_PROXY} == true ]]; then
        echo -e "${C_AST_RED}ERROR: Proxy not supported for expansion. Exiting ..."
        exit 1
+2 −0
Original line number Diff line number Diff line
@@ -53,6 +53,8 @@ load_hostfile(const std::string& lfpath) {
    string uri;
    std::smatch match;
    while(getline(lf, line)) {
        if(line[0] == '#')
            continue;
        if(!regex_match(line, match, line_re)) {
            PROXY_DATA->log()->debug(
                    "{}() Unrecognized line format: [path: '{}', line: '{}']",