This commit is contained in:
Redkale
2017-08-25 12:54:23 +08:00
parent 086275c135
commit 6085cd5eef

View File

@@ -149,6 +149,7 @@ public class HttpResponse extends Response<HttpContext, HttpRequest> {
@Override @Override
protected boolean recycle() { protected boolean recycle() {
boolean rs = super.recycle();
this.status = 200; this.status = 200;
this.contentLength = -1; this.contentLength = -1;
this.contentType = null; this.contentType = null;
@@ -156,7 +157,7 @@ public class HttpResponse extends Response<HttpContext, HttpRequest> {
this.headsended = false; this.headsended = false;
this.header.clear(); this.header.clear();
this.bufferHandler = null; this.bufferHandler = null;
return super.recycle(); return rs;
} }
@Override @Override