Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1ab2559887 | ||
|
|
33a2bc5b39 | ||
|
|
aebc66e015 | ||
|
|
a7d76dda73 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -6,7 +6,7 @@ Debug
|
|||||||
.project
|
.project
|
||||||
.settings/
|
.settings/
|
||||||
SI
|
SI
|
||||||
build/
|
build*/
|
||||||
src/inc
|
src/inc
|
||||||
src/lib64
|
src/lib64
|
||||||
cmake-build-*/
|
cmake-build-*/
|
||||||
|
|||||||
@@ -67,9 +67,3 @@ if [ -n "${UPLOAD_RPM}" ]; then
|
|||||||
python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
|
python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then
|
|
||||||
rpm -i $SYMBOL_TARGET*debuginfo*.rpm
|
|
||||||
_symbol_file=`find /usr/lib/debug/ -name "$SYMBOL_TARGET*.so*.debug"`
|
|
||||||
cp $_symbol_file ${_symbol_file}info.${CI_COMMIT_SHORT_SHA}
|
|
||||||
sentry-cli upload-dif -t elf ${_symbol_file}info.${CI_COMMIT_SHORT_SHA}
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ extern "C"
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define QUIC_MAX_UDP_PAYLOAD_SIZE 65527
|
#define QUIC_MAX_UDP_PAYLOAD_SIZE 1460
|
||||||
|
|
||||||
#define quic_string(str) \
|
#define quic_string(str) \
|
||||||
{ \
|
{ \
|
||||||
|
|||||||
@@ -177,8 +177,12 @@ extern "C" unsigned char QUIC_ENTRY(const struct streaminfo *pstream, void**pme,
|
|||||||
state=quic_analyze_entry(pstream, context, thread_seq, a_packet);
|
state=quic_analyze_entry(pstream, context, thread_seq, a_packet);
|
||||||
|
|
||||||
if(state&APP_STATE_DROPME || pstream->opstate==OP_STATE_CLOSE)
|
if(state&APP_STATE_DROPME || pstream->opstate==OP_STATE_CLOSE)
|
||||||
|
{
|
||||||
|
if(context->link_state==1)
|
||||||
{
|
{
|
||||||
quic_call_business_plug(pstream, context, NULL, 0, QUIC_INTEREST_KEY_MASK, a_packet);
|
quic_call_business_plug(pstream, context, NULL, 0, QUIC_INTEREST_KEY_MASK, a_packet);
|
||||||
|
}
|
||||||
|
|
||||||
quic_free_context(pstream, g_quic_param.context_bridge_id, *pme);
|
quic_free_context(pstream, g_quic_param.context_bridge_id, *pme);
|
||||||
stream_bridge_async_data_put(pstream, g_quic_param.context_bridge_id, NULL);
|
stream_bridge_async_data_put(pstream, g_quic_param.context_bridge_id, NULL);
|
||||||
*pme=NULL;
|
*pme=NULL;
|
||||||
|
|||||||
@@ -100,6 +100,12 @@ static int copy_extension_tag(const char *tag_start_pos, int tag_len, char **out
|
|||||||
{
|
{
|
||||||
if(tag_start_pos!=NULL && tag_len>0)
|
if(tag_start_pos!=NULL && tag_len>0)
|
||||||
{
|
{
|
||||||
|
if(*out!=NULL)
|
||||||
|
{
|
||||||
|
dictator_free(thread_seq, *out);
|
||||||
|
*out=NULL;
|
||||||
|
}
|
||||||
|
|
||||||
(*out)=(char *)dictator_malloc(thread_seq, tag_len+1);
|
(*out)=(char *)dictator_malloc(thread_seq, tag_len+1);
|
||||||
memcpy(*out, tag_start_pos, tag_len);
|
memcpy(*out, tag_start_pos, tag_len);
|
||||||
(*out)[tag_len]='\0';
|
(*out)[tag_len]='\0';
|
||||||
@@ -310,8 +316,11 @@ int parse_special_frame_stream(struct quic_info* quic_info, const char *payload,
|
|||||||
return PARSE_RESULT_VERSION;
|
return PARSE_RESULT_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(quic_info->client_hello==NULL)
|
||||||
|
{
|
||||||
quic_info->client_hello=(struct quic_client_hello *)dictator_malloc(thread_seq, sizeof(struct quic_client_hello));
|
quic_info->client_hello=(struct quic_client_hello *)dictator_malloc(thread_seq, sizeof(struct quic_client_hello));
|
||||||
memset(quic_info->client_hello, 0, sizeof(struct quic_client_hello));
|
memset(quic_info->client_hello, 0, sizeof(struct quic_client_hello));
|
||||||
|
}
|
||||||
|
|
||||||
tag_value_start_offset=payload_offset+tag_num*4*2; // skip length of type and offset, type(offset)=szieof(int)
|
tag_value_start_offset=payload_offset+tag_num*4*2; // skip length of type and offset, type(offset)=szieof(int)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user