diff options
| author | lijia <[email protected]> | 2024-07-17 14:27:15 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-07-18 09:54:56 +0800 |
| commit | c4c7aa89bf01b321f5b582d84b684171e6dbcf66 (patch) | |
| tree | 37678010c572f18f5d439101a40cc1f832e0154a /src/http_decoder_inc.h | |
| parent | b1548c7c6dc2198a4df20b11ce8eb72e766f56b7 (diff) | |
Add BODY_START message; add http_url_decode(); disable CONNECT tunnel.HEADv2.0.4dev-on-stellar2.0
Diffstat (limited to 'src/http_decoder_inc.h')
| -rw-r--r-- | src/http_decoder_inc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http_decoder_inc.h b/src/http_decoder_inc.h index 13f0369..aa213c3 100644 --- a/src/http_decoder_inc.h +++ b/src/http_decoder_inc.h @@ -16,6 +16,7 @@ extern "C" { #endif +#include <bits/types/struct_iovec.h> #include "stellar/stellar.h" #include "stellar/utils.h" #include "stellar/session.h" @@ -63,7 +64,7 @@ extern "C" #define DEFAULT_MEMPOOL_SIZE (32 * 1024) #define HTTPD_CFG_FILE "./etc/http/http_decoder.toml" -#define FILEDSTAT_OUTPUT_FILE "./http_decoder.fs4" +#define FILEDSTAT_OUTPUT_FILE "./metrics/http_decoder_fs4.json" #define HTTP_CTX_NOT_HTTP "__NOT_HTTP_SESS__" #define HTTP_CTX_IS_HTTP "__FAKE_HTTP_CTX__" @@ -73,6 +74,7 @@ struct http_decoder_config int decompress_switch; int stat_interval_pkts; // call fieldstat_incrby every stat_interval_pkts int stat_output_interval; + int proxy_enable; size_t result_queue_len; // per session result queue length size_t mempool_size; // per session mempool size }; |
