TSG-7627: 解析加密GQUIC048 SNI导致watchdog timeout
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#include "gquic.h"
|
||||
#include "quic_analysis.h"
|
||||
#include "gquic_process.h"
|
||||
#include "parser_quic.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <MESA/stream_inc/stream_base.h>
|
||||
#include <MESA/MESA_handle_logger.h>
|
||||
@@ -156,6 +158,8 @@ extern "C" int QUIC_INIT(void)
|
||||
return -1;
|
||||
}
|
||||
|
||||
gcry_init();
|
||||
|
||||
return 0;
|
||||
}/*QUICINIT*/
|
||||
|
||||
@@ -242,6 +246,11 @@ extern "C" char QUIC_ENTRY(struct streaminfo *pstream, void**pme, int thread_seq
|
||||
return APP_STATE_DROPME;
|
||||
}
|
||||
|
||||
if(!is_quic_port(pstream))
|
||||
{
|
||||
return APP_STATE_DROPME;
|
||||
}
|
||||
|
||||
if(*pme==NULL)
|
||||
{
|
||||
quic_init_stream(pme, thread_seq);
|
||||
|
||||
Reference in New Issue
Block a user