mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Support to JSON stuff on serial logging
This commit is contained in:
committed by
Felipe Zimmerle
parent
2988c5bb07
commit
63bef3d142
@@ -319,7 +319,8 @@ class Transaction : public TransactionAnchoredVariables {
|
||||
size_t offset);
|
||||
|
||||
const char *getResponseBody();
|
||||
int getResponseBodyLength();
|
||||
size_t getResponseBodyLength();
|
||||
size_t getRequestBodyLength();
|
||||
|
||||
#ifndef NO_LOGS
|
||||
void debug(int, std::string);
|
||||
@@ -612,7 +613,10 @@ int msc_process_uri(Transaction *transaction, const char *uri,
|
||||
const char *msc_get_response_body(Transaction *transaction);
|
||||
|
||||
/** @ingroup ModSecurity_C_API */
|
||||
int msc_get_response_body_length(Transaction *transaction);
|
||||
size_t msc_get_response_body_length(Transaction *transaction);
|
||||
|
||||
/** @ingroup ModSecurity_C_API */
|
||||
size_t msc_get_request_body_length(Transaction *transaction);
|
||||
|
||||
/** @ingroup ModSecurity_C_API */
|
||||
void msc_transaction_cleanup(Transaction *transaction);
|
||||
|
Reference in New Issue
Block a user