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