完善GQUIC1-43版本解析功能

This commit is contained in:
liuxueli
2020-06-01 17:16:23 +08:00
parent d2ad9ab2c4
commit 3f09c62e1c
5 changed files with 292 additions and 219 deletions

View File

@@ -37,7 +37,7 @@ static __attribute__((__used__)) const char * GIT_VERSION_UNKNOWN = NULL;
}
#endif
const char QUIC_VERSION_20200522=0;
const char QUIC_VERSION_20200601=0;
int quic_init_stream(void **pme, int thread_seq)
{
@@ -91,11 +91,11 @@ void quic_release_stream(struct streaminfo *a_tcp, void** pme, int thread_seq)
_context->quic_info.server_hello=NULL;
}
if(_context->quic_info.rej!=NULL)
if(_context->quic_info.rejection!=NULL)
{
quic_release_exts(thread_seq, _context->quic_info.rej->ext_tags, _context->quic_info.rej->ext_tag_num);
dictator_free(thread_seq, _context->quic_info.rej);
_context->quic_info.rej=NULL;
quic_release_exts(thread_seq, _context->quic_info.rejection->ext_tags, _context->quic_info.rejection->ext_tag_num);
dictator_free(thread_seq, _context->quic_info.rejection);
_context->quic_info.rejection=NULL;
}
dictator_free(thread_seq, _context);