22 lines
1.2 KiB
Diff
22 lines
1.2 KiB
Diff
--- /home/ykn/3rd/oatpp-master-20220214/oatpp-master/src/oatpp/web/server/HttpProcessor.cpp
|
|
+++ /media/ykn/tf128/00_svn/platform/platform/src/3rd/src_package/oatpp/HttpProcessor.cpp
|
|
@@ -104,7 +104,7 @@
|
|
|
|
data::stream::BufferOutputStream ss;
|
|
ss << "No mapping for HTTP-method: '" << request->getStartingLine().method.toString()
|
|
- << "', URL: '" << request->getStartingLine().path.toString() << "'";
|
|
+ << "'";//, URL: '" << request->getStartingLine().path.toString() << "'";
|
|
|
|
connectionState = ConnectionState::CLOSING;
|
|
return resources.components->errorHandler->handleError(protocol::http::Status::CODE_404, ss.toString());
|
|
@@ -326,7 +326,7 @@
|
|
|
|
data::stream::BufferOutputStream ss;
|
|
ss << "No mapping for HTTP-method: '" << headersReadResult.startingLine.method.toString()
|
|
- << "', URL: '" << headersReadResult.startingLine.path.toString() << "'";
|
|
+ << "'"; //, URL: '" << headersReadResult.startingLine.path.toString() << "'";
|
|
m_currentResponse = m_components->errorHandler->handleError(protocol::http::Status::CODE_404, ss.toString());
|
|
m_connectionState = ConnectionState::CLOSING;
|
|
return yieldTo(&HttpProcessor::Coroutine::onResponseFormed);
|
|
|