支持CI,支持cmake编译
This commit is contained in:
@@ -612,7 +612,7 @@ void gquic_proc_unencrypt(struct streaminfo *pstream, struct quic_stream* a_qui
|
||||
}
|
||||
|
||||
UINT8 parse_gquic_Q046(struct streaminfo *pstream, unsigned long long region_flag, void* a_packet,
|
||||
int thread_seq, const char * payload, uint32_t payload_len, struct quic_stream* a_quic_stream){
|
||||
int thread_seq, char * payload, uint32_t payload_len, struct quic_stream* a_quic_stream){
|
||||
uint32_t g_pos_t = 0;
|
||||
if (!a_canRead(5, payload_len, g_pos_t)) {
|
||||
return QUIC_RETURN_DROPME;
|
||||
@@ -712,7 +712,7 @@ UINT8 parse_gquic_Q046(struct streaminfo *pstream, unsigned long long region_fla
|
||||
}
|
||||
|
||||
UINT8 parse_gquic(struct streaminfo *pstream, unsigned long long region_flag, void* a_packet,
|
||||
int thread_seq, const char * payload, uint32_t payload_len, struct quic_stream* a_quic_stream){
|
||||
int thread_seq, char * payload, uint32_t payload_len, struct quic_stream* a_quic_stream){
|
||||
uint8_t pub_flags = 0;
|
||||
uint8_t nonce_flag = 0;
|
||||
uint8_t reset_flag = 0;
|
||||
|
||||
@@ -203,12 +203,12 @@ void quic_init_serverHello(struct quic_server_hello* stServerHello, UINT32 tag_n
|
||||
// memset(&stServerHello->random, 0, RANDOM_LEN);
|
||||
if(tag_num == 0){
|
||||
}else{
|
||||
(stServerHello->ext_tags) = (struct quic_tlv_t **)dictator_malloc(thread_seq,tag_num*sizeof(struct quic_tlv_t*));
|
||||
(stServerHello->ext_tags) = (quic_tlv_t **)dictator_malloc(thread_seq,tag_num*sizeof(quic_tlv_t*));
|
||||
int i=0;
|
||||
for(i=0;i<tag_num;i++)
|
||||
{
|
||||
// stServerHello->ext_tags[i] = (struct quic_tlv_t *)dictator_malloc(thread_seq, sizeof(quic_tlv_t)*20);
|
||||
stServerHello->ext_tags[i] = (struct quic_tlv_t *)dictator_malloc(thread_seq, sizeof(quic_tlv_t));
|
||||
stServerHello->ext_tags[i] = (quic_tlv_t *)dictator_malloc(thread_seq, sizeof(quic_tlv_t));
|
||||
memset(stServerHello->ext_tags[i], 0, sizeof(quic_tlv_t));
|
||||
stServerHello->ext_tags[i]->ptr_value = (char *)dictator_malloc(thread_seq, sizeof(char)*MAX_TAG_VALUE_LEN);
|
||||
stServerHello->ext_tags[i]->length = 0;
|
||||
|
||||
Reference in New Issue
Block a user