diff --git a/src/gquic_process.c b/src/gquic_process.c index f7176b5..91ca9e1 100644 --- a/src/gquic_process.c +++ b/src/gquic_process.c @@ -61,23 +61,6 @@ char quic_callPlugins(struct streaminfo *pstream, struct _quic_context *_context app_state=APP_STATE_DROPPKT; } - if(state&PROT_STATE_DROPME) - { - if(app_state&APP_STATE_DROPPKT) - { - app_state|=APP_STATE_DROPME; - } - else - { - app_state=APP_STATE_DROPME; - } - } - - if(state&PROT_STATE_GIVEME) - { - app_state=APP_STATE_GIVEME; - } - return app_state; } @@ -818,7 +801,7 @@ int gquic_proc_unencrypt(struct streaminfo *pstream, struct _quic_context* _cont } else { - return -1; + return APP_STATE_GIVEME; } break; } @@ -852,7 +835,7 @@ int parse_gquic_Q046(struct streaminfo *pstream, struct _quic_context* _context, } else { - return 0; //todo + return APP_STATE_GIVEME; //todo } if(ret&APP_STATE_DROPME || ret&APP_STATE_DROPPKT)