summaryrefslogtreecommitdiffhomepage
path: root/plugins/fcgi/fcgi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/fcgi/fcgi.cpp')
-rw-r--r--plugins/fcgi/fcgi.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/fcgi/fcgi.cpp b/plugins/fcgi/fcgi.cpp
index f9d8a4d..a97f1c0 100644
--- a/plugins/fcgi/fcgi.cpp
+++ b/plugins/fcgi/fcgi.cpp
@@ -314,16 +314,6 @@ namespace {
return status + " " + message;
}
- void DumpAppValues(const std::unordered_map<std::string, std::string>& app_values)
- {
- std::cout << "App properties:" << std::endl;
- if (app_values.size() == 0)
- std::cout << " (empty)" << std::endl;
- else for (auto&[key, value]: app_values) {
- std::cout << " " << key << "=" << value << std::endl;
- }
- }
-
} // anonymous namespace
std::string fcgi_plugin::fcgiQuery(FCGIContext& context)
@@ -448,7 +438,6 @@ std::string fcgi_plugin::fcgiQuery(FCGIContext& context)
std::cerr << "FCGI STDERR: " << r.getContent() << std::endl;
} else if (r.getType() == FCGI_GET_VALUES_RESULT) {
FCGI_DecodeEnv(r.getContent(), app_values);
- //DumpAppValues(app_values);
} else
throw std::runtime_error("Unhandled FCGI type: "s + std::to_string(r.getType()));
} catch (const std::length_error& ex) {