removed some TODOs
This commit is contained in:
parent
27c31fb403
commit
3a0291929c
|
@ -191,7 +191,7 @@ public class HttpChannel<T> implements HttpParser.RequestHandler<T>, Runnable
|
|||
// TODO: break this dependency with HttpGenerator
|
||||
boolean committed = commitResponse(HttpGenerator.CONTINUE_100_INFO, null, false);
|
||||
if (!committed)
|
||||
throw new IOException("Concurrent commit while trying to send 100-Continue"); // TODO: better message
|
||||
throw new IOException("Concurrent commit while trying to send 100-Continue");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -636,7 +636,7 @@ public class HttpChannel<T> implements HttpParser.RequestHandler<T>, Runnable
|
|||
ResponseInfo info = _response.newResponseInfo();
|
||||
boolean committed = commitResponse(info, content, complete);
|
||||
if (!committed)
|
||||
throw new IOException("Concurrent commit"); // TODO: better message
|
||||
throw new IOException("Concurrent commit");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ public class HttpConnection extends AbstractConnection implements Runnable, Http
|
|||
_config = config;
|
||||
_connector = connector;
|
||||
_bufferPool = _connector.getByteBufferPool();
|
||||
_generator = new HttpGenerator(); // TODO: consider moving the generator to the transport, where it belongs
|
||||
_generator = new HttpGenerator();
|
||||
_generator.setSendServerVersion(_config.getSendServerVersion());
|
||||
_channel = new HttpChannelOverHttp(connector, config, endPoint, this, new Input());
|
||||
_parser = newHttpParser();
|
||||
|
|
Loading…
Reference in New Issue