summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2022-08-17 18:08:33 +0800
committerluwenpeng <[email protected]>2022-08-19 16:46:15 +0800
commit9cfa120ae79cfd429f1b77eb8ccb6036651e7233 (patch)
tree84bc425330833a790a9d035c9586e035a73eac2d /src/main.cpp
parentb9d93e042b383f4ed683008662e99efa562ba017 (diff)
feature: http decoder
* support parser uncompress request/response * define public API interface
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 19c54d9..8d94824 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -84,7 +84,7 @@ int main(int argc, char ** argv)
struct plugin_manager *plug_mgr = plugin_manager_create();
// register build-in plugin
- plugin_manager_register(plug_mgr, "HTTP", SESSION_EVENT_ALL, http_decoder);
+ plugin_manager_register(plug_mgr, "HTTP", SESSION_EVENT_ALL, http_entry);
// load external plugins
char file_path[] = "./plugs/plugins.inf";