完成HTTP请求侧解析调试,可以解析请求的URL。
* 增加插件管理功能(简单实现),可以调用解析层插件; * 调整HTTP请求侧解析回调函数实现; * 增加hexdump工具函数;
This commit is contained in:
@@ -74,13 +74,16 @@ struct tfe_stream_private
|
||||
int calling_idx;
|
||||
|
||||
size_t forward_bytes;
|
||||
size_t defere_bytes;
|
||||
size_t drop_bytes;
|
||||
|
||||
enum tfe_app_proto app_proto;
|
||||
int plugin_num;
|
||||
size_t defer_bytes;
|
||||
struct timeval defer_timeval;
|
||||
|
||||
struct plugin_ctx * plug_ctx;
|
||||
enum tfe_app_proto app_proto;
|
||||
|
||||
/* Plugin Ctxs */
|
||||
unsigned int nr_plugin_ctxs;
|
||||
struct plugin_ctx * plugin_ctxs;
|
||||
|
||||
/* TCP forward without scan or decode when the passthough is set */
|
||||
bool passthough;
|
||||
|
||||
Reference in New Issue
Block a user