收到上层业务返回drop pkt状态时,不关闭对流的处理
This commit is contained in:
@@ -173,14 +173,11 @@ extern "C" unsigned char QUIC_ENTRY(struct streaminfo *pstream, void**pme, int t
|
|||||||
context=(struct quic_context *)*pme;
|
context=(struct quic_context *)*pme;
|
||||||
}
|
}
|
||||||
|
|
||||||
state=quic_analyze_entry(pstream, context, thread_seq, a_packet);
|
state=quic_analyze_entry(pstream, context, thread_seq, a_packet);
|
||||||
if(pstream->opstate==OP_STATE_CLOSE)
|
|
||||||
{
|
|
||||||
state=quic_call_business_plug(pstream, context, NULL, 0, QUIC_INTEREST_KEY_MASK, a_packet);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(state&APP_STATE_DROPME || state&APP_STATE_DROPPKT || pstream->opstate==OP_STATE_CLOSE)
|
if(state&APP_STATE_DROPME || pstream->opstate==OP_STATE_CLOSE)
|
||||||
{
|
{
|
||||||
|
quic_call_business_plug(pstream, context, NULL, 0, QUIC_INTEREST_KEY_MASK, a_packet);
|
||||||
quic_free_context(pme, thread_seq);
|
quic_free_context(pme, thread_seq);
|
||||||
*pme=NULL;
|
*pme=NULL;
|
||||||
return state;
|
return state;
|
||||||
|
|||||||
Reference in New Issue
Block a user