summaryrefslogtreecommitdiffhomepage
path: root/plugins/fcgi/fcgi.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-05-10 13:55:20 +0200
committerRoland Reichwein <mail@reichwein.it>2020-05-10 13:55:20 +0200
commiteb7c96f1ee9cf3eff2dd86f2a1b6ea46a80e41c8 (patch)
tree496b0c9450fb1df8d9e02722caccd66610c34dd8 /plugins/fcgi/fcgi.cpp
parent05213d6f1d8e946e717dee948bd14b6ef3876827 (diff)
Typo fixes
Diffstat (limited to 'plugins/fcgi/fcgi.cpp')
-rw-r--r--plugins/fcgi/fcgi.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/fcgi/fcgi.cpp b/plugins/fcgi/fcgi.cpp
index d19916c..f9d8a4d 100644
--- a/plugins/fcgi/fcgi.cpp
+++ b/plugins/fcgi/fcgi.cpp
@@ -391,27 +391,27 @@ std::string fcgi_plugin::fcgiQuery(FCGIContext& context)
FCGI_Record begin_request{FCGI_BEGIN_REQUEST, id, FCGI_RESPONDER, FCGI_KEEP_CONN};
if (socket->write(begin_request.getBuffer()) != begin_request.getBuffer().size())
- std::cerr << "Warning: Not all bytes written 3" << std::endl;
+ std::cerr << "Warning: Not all bytes written 2" << std::endl;
FCGI_Record params{FCGI_PARAMS, id, env_bytes};
if (socket->write(params.getBuffer()) != params.getBuffer().size())
- std::cerr << "Warning: Not all bytes written 4" << std::endl;
+ std::cerr << "Warning: Not all bytes written 3" << std::endl;
if (env_bytes.size()) {
FCGI_Record params_end{FCGI_PARAMS, id, std::string{}};
if (socket->write(params_end.getBuffer()) != params_end.getBuffer().size())
- std::cerr << "Warning: Not all bytes written 5" << std::endl;
+ std::cerr << "Warning: Not all bytes written 4" << std::endl;
}
std::string body {context.GetRequestParam("body")};
FCGI_Record stdin_{FCGI_STDIN, id, body};
if (socket->write(stdin_.getBuffer()) != stdin_.getBuffer().size())
- std::cerr << "Warning: Not all bytes written 6" << std::endl;
+ std::cerr << "Warning: Not all bytes written 5" << std::endl;
if (body.size()) {
FCGI_Record stdin_end{FCGI_STDIN, id, std::string{}};
if (socket->write(stdin_end.getBuffer()) != stdin_end.getBuffer().size())
- std::cerr << "Warning: Not all bytes written 7" << std::endl;
+ std::cerr << "Warning: Not all bytes written 6" << std::endl;
}
} catch (const fcgi_eof_error&) {
std::cerr << "FCGI Error: EOF on write" << std::endl; // seems to be ok here