diff --git a/common/include/tfe_http.h b/common/include/tfe_http.h index 6a2faaa..f0ba194 100644 --- a/common/include/tfe_http.h +++ b/common/include/tfe_http.h @@ -350,7 +350,7 @@ void http_frame_raise_session_end(struct http_frame_session_ctx * ht_frame, stru void http_frame_raise_event(struct http_frame_session_ctx * ht_frame, const struct tfe_stream * stream, struct tfe_http_session * ht_session, enum tfe_http_event event, - const unsigned char * data, size_t datalen, unsigned int thread_id) + const unsigned char * data, size_t datalen, unsigned int thread_id); void http_frame_currect_plugin_detach(struct http_frame_session_ctx * ht_frame); int http_frame_currect_plugin_preempt(struct http_frame_session_ctx * ht_frame); diff --git a/plugin/protocol/http/src/http_entry.cpp b/plugin/protocol/http/src/http_entry.cpp index 0f25617..bbca1f3 100644 --- a/plugin/protocol/http/src/http_entry.cpp +++ b/plugin/protocol/http/src/http_entry.cpp @@ -44,8 +44,8 @@ static int __user_event_dispatch(struct http_half_private * hf_private, { struct user_event_dispatch_closure * __closure = (struct user_event_dispatch_closure *)user; struct http_frame_session_ctx* ht_frame = hf_private->session->ht_frame; - - http_frame_raise_event(ht_frame, __closure->stream, __closure->session, + //todo: + http_frame_raise_event(ht_frame, __closure->stream, (struct tfe_http_session *)__closure->session, ev, data, len, __closure->thread_id); return 0; }