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
@@ -66,7 +66,7 @@ public:
~PostMultiParser();
void SetConfig(Config * pconfig);
Error Parse(FCGX_Stream * in_, Request & request);
Error Parse(FCGX_Stream * in_, Request & request, bool copy_raw_post);
private:
@@ -80,6 +80,7 @@ private:
int tmp_filename_postfix;
size_t in_buffer_ind;
size_t in_buffer_len;
bool copy_raw_post;
Request * request;