Commit 60b97dbe authored by bol-van's avatar bol-van
Browse files

nfqws: remove debug printfs

parent e56e4f5f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1963,6 +1963,8 @@ static uint8_t dpi_desync_udp_packet_play(bool replay, size_t reasm_offset, uint
				{
					if (bFull)
					{
						DLOG("QUIC initial contains CRYPTO with full fragment coverage\n");

						bool bIsHello = IsQUICCryptoHello(defrag, defrag_len, &hello_offset, &hello_len);
						bool bReqFull = bIsHello ? IsTLSHandshakeFull(defrag+hello_offset,hello_len) : false;

+3 −3
Original line number Diff line number Diff line
@@ -916,8 +916,8 @@ bool QUICDefragCrypto(const uint8_t *clean,size_t clean_len, uint8_t *defrag,siz

		qsort(ranges, range, sizeof(*ranges), cmp_range64);

		for(i=0 ; i<range ; i++)
			printf("RANGE %zu len %zu\n",ranges[i].offset,ranges[i].len);
		//for(i=0 ; i<range ; i++)
		//	printf("RANGE %zu len %zu\n",ranges[i].offset,ranges[i].len);

		for(i=0,offset=0,*bFull=true ; i<range ; i++)
		{
@@ -929,7 +929,7 @@ bool QUICDefragCrypto(const uint8_t *clean,size_t clean_len, uint8_t *defrag,siz
			offset += ranges[i].len;
		}

printf("bFull=%d\n",*bFull);
		//printf("bFull=%u\n",*bFull);
	}
	return found;
}