Browse Source

log the outputText in sendReplyString(). Yes, I know, it can be biiiiig!

old_session_management
Roker 2 years ago
parent
commit
7d39c22575
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      server/ev_server.cc

+ 3
- 1
server/ev_server.cc View File

@ -180,7 +180,9 @@ pEp::Webserver::response ev_server::sendReplyString(const pEp::Webserver::reques
{
Log() << Logger::Debug << "sendReplyString(): "
<< ", contentType=" << (contentType ? "«" + std::string(contentType)+ "»" : "NULL")
<< ", output.size()=«" << outputText.size() << "».";
<< ", output.size()=«" << outputText.size() << "»"
<< ", keep_alive=" << req.keep_alive() << ",\n"
<< "outputText=«" << outputText << "»";
pEp::Webserver::response res{pEp::http::status::ok, req.version()};
res.set(pEp::http::field::content_type, contentType);


Loading…
Cancel
Save