CGI size
This commit is contained in:
1 parent
707637bde0
commit
5803e156a1
1 file changed
+1
-1
+1
-1
@@ -277,7 +277,7 @@ bool connection_handler(const char *preprefix, const char *col1, const char *col
|
||||
//if (req.getMethod() == "POST" || req.getMethod() == "PUT") {
|
||||
long len = req.isExistingField("Content-Length") ? strtol(
|
||||
req.getField("Content-Length").c_str(), nullptr, 10) : (
|
||||
req.getMethod() == "POST" || req.getMethod() == "PUT)?-1:0;
|
||||
req.getMethod() == "POST" || req.getMethod() == "PUT")?-1:0;
|
||||
log(prefix, to_string(len));
|
||||
socket->receive(pipes.stdin, len);
|
||||
//}
|
||||
|
||||
Reference in new issue
Block a user