[ 
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

        

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to