From 810857dc122186006d158160a92a6c9103a8e332 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Wed, 16 Sep 2020 19:28:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=BF=94=E5=9B=9E=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gquic_process.c | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) 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)