Removed unused field.

This commit is contained in:
Simone Bordet 2016-03-15 14:44:12 +01:00
parent 5b920700c2
commit 30f50c01ed
1 changed files with 4 additions and 6 deletions

View File

@ -36,7 +36,6 @@ public class HttpTransportOverFCGI implements HttpTransport
private final ServerGenerator generator; private final ServerGenerator generator;
private final Flusher flusher; private final Flusher flusher;
private final int request; private final int request;
private volatile boolean head;
private volatile boolean shutdown; private volatile boolean shutdown;
private volatile boolean aborted; private volatile boolean aborted;
@ -52,7 +51,7 @@ public class HttpTransportOverFCGI implements HttpTransport
{ {
return false; return false;
} }
@Override @Override
public void send(MetaData.Response info, boolean head, ByteBuffer content, boolean lastContent, Callback callback) public void send(MetaData.Response info, boolean head, ByteBuffer content, boolean lastContent, Callback callback)
{ {
@ -89,16 +88,15 @@ public class HttpTransportOverFCGI implements HttpTransport
{ {
return false; return false;
} }
@Override @Override
public void push(org.eclipse.jetty.http.MetaData.Request request) public void push(org.eclipse.jetty.http.MetaData.Request request)
{ {
// LOG.debug("ignore push in {}",this); // LOG.debug("ignore push in {}",this);
} }
private void commit(MetaData.Response info, boolean head, ByteBuffer content, boolean lastContent, Callback callback) private void commit(MetaData.Response info, boolean head, ByteBuffer content, boolean lastContent, Callback callback)
{ {
this.head = head;
boolean shutdown = this.shutdown = info.getFields().contains(HttpHeader.CONNECTION, HttpHeaderValue.CLOSE.asString()); boolean shutdown = this.shutdown = info.getFields().contains(HttpHeader.CONNECTION, HttpHeaderValue.CLOSE.asString());
if (head) if (head)