From a58a7597a747d2aaf273b39d8b85f7a4014ff06e Mon Sep 17 00:00:00 2001 From: liuxueli Date: Tue, 2 Jun 2020 10:40:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=86=85=E5=AD=98=E6=B3=84?= =?UTF-8?q?=E6=BC=8F=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_entry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index aead829..ffc6e22 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -533,7 +533,7 @@ static int identify_application_protocol(struct streaminfo *a_stream, struct _id identify_info->proto = PROTO_UNKONWN; //http - char *host = NULL; + char *host=NULL; ret=http_host_parser((char *)a_stream->ptcpdetail->pdata, (unsigned int)a_stream->ptcpdetail->datalen, DIR_C2S, &host); if(ret>=0) { @@ -632,6 +632,7 @@ static int identify_application_protocol(struct streaminfo *a_stream, struct _id } } + quic_release_stream(a_stream, (void **)&_context, a_stream->threadnum); return ret; }