Analyze API: Failure to read full message over the wire, closes #1138.
This commit is contained in:
parent
5bd4c16a0c
commit
c3124efe51
|
@ -118,7 +118,7 @@ public class AnalyzeResponse implements ActionResponse, Iterable<AnalyzeResponse
|
||||||
if (type == null) {
|
if (type == null) {
|
||||||
out.writeBoolean(false);
|
out.writeBoolean(false);
|
||||||
} else {
|
} else {
|
||||||
out.writeBoolean(false);
|
out.writeBoolean(true);
|
||||||
out.writeUTF(type);
|
out.writeUTF(type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue