summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2020-09-16 19:28:15 +0800
committerliuxueli <[email protected]>2020-09-16 19:28:15 +0800
commit810857dc122186006d158160a92a6c9103a8e332 (patch)
treeab4de4514c20a54465f30f744c282d97cc1e332d
parentc068db5eee3df4309149539432f40aec563f6293 (diff)
修正返回值v1.1.9
-rw-r--r--src/gquic_process.c21
1 files 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)