add a Request::raw_post buffer

This buffer is used when a Function::NeedToCopyRawPost() method returned true.

while here:
- remove WINIX_POST_PARAMS and WINIX_RAW_POST_STRING plugin messages
This commit is contained in:
2023-11-02 05:14:48 +01:00
parent a08bf9f804
commit 79babc916a
11 changed files with 57 additions and 71 deletions

View File

@@ -4,8 +4,8 @@
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/
/*
* Copyright (c) 2008-2022, Tomasz Sowa
/*
* Copyright (c) 2008-2023, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -52,7 +52,7 @@ public:
PostParser();
void LogValueSize(size_t s);
void Parse(FCGX_Stream * in, Request & request);
void Parse(FCGX_Stream * in, Request & request, bool copy_raw_post);
protected:
@@ -61,9 +61,7 @@ protected:
Request * request;
size_t log_value_size;
int var_index;
bool has_winix_post_params_msg;
bool has_winix_raw_post_msg;
std::string raw_post;
bool copy_raw_post;
virtual int GetChar();
void CreateLog(bool param_added, const std::wstring & name, const std::wstring & value);