You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Chris Schneider (JIRA)" <ji...@apache.org> on 2006/11/02 02:45:17 UTC

[jira] Commented: (NUTCH-351) Protocol forward proxy

    [ http://issues.apache.org/jira/browse/NUTCH-351?page=comments#action_12446424 ] 
            
Chris Schneider commented on NUTCH-351:
---------------------------------------

I just noticed a bug in the patch above. I believe it's missing a return sequence between the Host: <host> and Accept-Encoding: x-gzip, gzip

These lines:

    reqStr.append(" HTTP/1.0\r\n");
    reqStr.append("Host: ");
    reqStr.append(host);
    reqStr.append(portString);
    reqStr.append("Accept-Encoding: x-gzip, gzip\r\n");


Need to look something like:

    reqStr.append(" HTTP/1.0\r\n");
    reqStr.append("Host: ");
    reqStr.append(host);
    reqStr.append(portString);
    reqStr.append("\r\n");
    
    reqStr.append("Accept-Encoding: x-gzip, gzip\r\n");




> Protocol forward proxy
> ----------------------
>
>                 Key: NUTCH-351
>                 URL: http://issues.apache.org/jira/browse/NUTCH-351
>             Project: Nutch
>          Issue Type: New Feature
>          Components: fetcher
>    Affects Versions: 0.8, 0.9.0, 0.8.1
>            Reporter: Sami Siren
>         Assigned To: Sami Siren
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: protocol-http-proxy-adapter.txt
>
>
> Protocol proxy adapter takes advantage of protocols known to http forward proxy. Usually there's atleast http, https and ftp.
> You must configure nutch to use this plugin and to use http proxy before use.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira