提交 724ebbcc 编写于 作者: J Jesse Glick

Improved error message displayed when using -http against a pre-JENKINS-41745 server.

上级 da581599
......@@ -719,7 +719,7 @@ public class CLI implements AutoCloseable {
ClientSideImpl(InputStream is, OutputStream os) throws IOException {
super(is, os);
if (is.read() != 0) { // cf. FullDuplexHttpService
throw new IOException("expected to see initial zero byte");
throw new IOException("expected to see initial zero byte; perhaps you are connecting to an old server which does not support -http?");
}
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册