ProxyHTTP Unknow reason
91diy opened this issue · 0 comments
91diy commented
com.jcraft.jsch.ProxyHTTP:
Can you throw the exception out...
`
try{
foo=response.indexOf(' ');
int bar=response.indexOf(' ', foo+1);
code=Integer.parseInt(response.substring(foo+1, bar));
reason=response.substring(bar+1);
}
catch(Exception e){
// Can you throw the exception out...
}
if(code!=200){
throw new IOException("proxy error: "+reason);
}
`