From b8f80db4ec3a5e586903834f29ec50a265c0c1fa Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 18 Apr 2020 19:48:02 +0200 Subject: Old boost doesn't support close --- plugins/cgi/cgi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cgi/cgi.cpp b/plugins/cgi/cgi.cpp index 561e6ad..f5147c1 100644 --- a/plugins/cgi/cgi.cpp +++ b/plugins/cgi/cgi.cpp @@ -181,7 +181,7 @@ namespace { bp::child child(filename.string(), env, (bp::std_out & bp::std_err) > is_out, bp::std_in < is_in); is_in << context.GetRequestParam("body"); - is_in.close(); + //is_in.close(); std::string output; std::string line; -- cgit v1.2.3