修复编译错误
This commit is contained in:
@@ -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,
|
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 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);
|
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);
|
int http_frame_currect_plugin_preempt(struct http_frame_session_ctx * ht_frame);
|
||||||
|
|||||||
@@ -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 user_event_dispatch_closure * __closure = (struct user_event_dispatch_closure *)user;
|
||||||
struct http_frame_session_ctx* ht_frame = hf_private->session->ht_frame;
|
struct http_frame_session_ctx* ht_frame = hf_private->session->ht_frame;
|
||||||
|
//todo:
|
||||||
http_frame_raise_event(ht_frame, __closure->stream, __closure->session,
|
http_frame_raise_event(ht_frame, __closure->stream, (struct tfe_http_session *)__closure->session,
|
||||||
ev, data, len, __closure->thread_id); return 0;
|
ev, data, len, __closure->thread_id); return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user