File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1008,7 +1008,7 @@ bool QUICPlugin::handle_version(RecordExtQUIC * rec)
10081008 uint32_t version = quic_h1->version ;
10091009 version = ntohl (version);
10101010 rec->quic_version = version;
1011-
1011+ DEBUG_MSG ( " version %d \n " ,version);
10121012
10131013
10141014
@@ -1132,6 +1132,7 @@ bool QUICPlugin::quic_parse_data(const Packet &pkt,RecordExtQUIC * rec)
11321132
11331133 if (!handle_version (rec))
11341134 {
1135+ DEBUG_MSG (" Error, version not supported\n " );
11351136 return false ;
11361137 }
11371138
@@ -1237,6 +1238,7 @@ bool QUICPlugin::quic_check_initial(uint8_t packet0)
12371238 // version 1 (header form:long header(1) | fixed bit:fixed(1) | long packet type:initial(00) --> 1100 --> C)
12381239 if ((packet0 & 0xF0 ) == 0xC0 )
12391240 {
1241+ is_version2 = false ;
12401242 return true ;
12411243 }
12421244 // version 2 (header form:long header(1) | fixed bit:fixed(1) | long packet type:initial(01) --> 1101 --> D)
@@ -1246,7 +1248,10 @@ bool QUICPlugin::quic_check_initial(uint8_t packet0)
12461248 return true ;
12471249 }
12481250 else
1251+ {
12491252 return false ;
1253+ }
1254+
12501255}
12511256
12521257
@@ -1324,7 +1329,8 @@ bool QUICPlugin::process_quic(RecordExtQUIC *quic_data, const Packet &pkt)
13241329 else {
13251330 return true;
13261331 }*/
1327- return true ;
1332+ DEBUG_MSG (" Server side packet\n " );
1333+ return false ;
13281334 }
13291335 return false ;
13301336} // QUICPlugin::process_quic
You can’t perform that action at this time.
0 commit comments