1
0
Fork 0

removed unused code path

This commit is contained in:
jsteemann 2016-07-25 16:52:39 +02:00
parent d3946a5f3c
commit fe99ca558a
1 changed files with 0 additions and 8 deletions

View File

@ -260,14 +260,6 @@ bool HttpCommTask::processRead() {
_connectionInfo, _readBuffer->c_str() + _startPosition,
_readPosition - _startPosition, _allowMethodOverride);
if (_request == nullptr) {
LOG(ERR) << "cannot generate request";
// internal server error
handleSimpleError(GeneralResponse::ResponseCode::SERVER_ERROR);
return false;
}
GeneralServerFeature::HANDLER_FACTORY->setRequestContext(_request);
_request->setClientTaskId(_taskId);