support protocol ob20 and full link trace

This commit is contained in:
weihao.twh
2022-10-17 16:49:00 +08:00
parent dccacf24d6
commit 4c565b9dd7
77 changed files with 17741 additions and 375 deletions

View File

@ -7,6 +7,7 @@
#define ZLIB_INTERNAL
#include "zlib.h"
#include "string.h"
/* ===========================================================================
Compresses the source buffer into the destination buffer. The level
@ -34,6 +35,8 @@ int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
left = *destLen;
*destLen = 0;
memset(&stream, 0, sizeof(stream));
stream.zalloc = (alloc_func)0;
stream.zfree = (free_func)0;
stream.opaque = (voidpf)0;