mirror of https://gitee.com/bigwinds/arangodb
removed unused code path
This commit is contained in:
parent
d3946a5f3c
commit
fe99ca558a
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue