This commit is contained in:
地平线
2015-08-13 11:14:46 +08:00
parent 6c2ddf49a7
commit 130a3b2106

View File

@@ -112,7 +112,7 @@ public final class SncpRequest extends Request {
@Override @Override
protected void prepare() { protected void prepare() {
this.keepAlive = true; this.keepAlive = this.channel.isTCP();
if (this.body == null) return; if (this.body == null) return;
byte[] bytes = this.body; byte[] bytes = this.body;
int pos = 0; int pos = 0;