Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProxyHTTP Unknow reason #45

Open
91diy opened this issue Apr 12, 2022 · 0 comments
Open

ProxyHTTP Unknow reason #45

91diy opened this issue Apr 12, 2022 · 0 comments

Comments

@91diy
Copy link

91diy commented Apr 12, 2022

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);
  }

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant