• Resolved Lumaraf

    (@lumaraf)


    The wordpress options WP_PROXY_HOST and WP_PROXY_PORT are ignored when requests are made with snoopy from wp-content/plugins/broken-link-checker/modules/checkers/http.php. This causes the plugin to hang for a long time as all outgoing http requests on our servers have to be sent through a proxy server for security reasons.

    Adding the following code in blcSnoopyHttp#check fixed the problem for me.

    $snoopy = new Snoopy;
    if (defined(‘WP_PROXY_HOST’)) {
    $snoopy->proxy_host = WP_PROXY_HOST;
    }
    if (defined(‘WP_PROXY_PORT’)) {
    $snoopy->proxy_port = WP_PROXY_PORT;
    }

  • The topic ‘broken-link-checker does not honor proxy setting when snoopy is used’ is closed to new replies.